DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:ticketlinker

This is an old revision of the document!


Ticketlinker Plugin

Compatible with DokuWiki

2007-06-26

plugin Provides basic integration with the Cerberus Helpdesk system

Last updated on
2007-08-04
Provides
Syntax

The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with embed

Installation

lib/plugins/ticketlinker/syntax.php
lib/plugins/ticketlinker/conf/metadata.php

Configuration

After installation you have to set these configuration options in your Admin → Configuration Settings:

ticketMaskLength

Length of ticket mask (e.g. 13)

cerberusUrl

Full URL path to your Cerberus installation, see example:

https://www.domain.tld/agents/display.php?ticket=

Usage

Every occurrence of

ticket#

will be processed - following 13 (configurable) characters will be used as ticket mask. Example:

ticket#XXX-12345-123

will be rendered as

<a href="https://www.domain.tld/agents/display.php?ticket=XXX-12345-123" target="_blank" title="Ticket #XXX-12345-123">#XXX-12345-123</a>

Change log

  • Version 1.0.0 (2007-08-04)
    • initial version
    • only masked tickets are supported
    • tested with Cerberus 2.7.0

ToDo's

  • implement support for plugin manager automatic installation (how?)
  • provide default values for configuration parameters (how?)
  • rewrite source code according to DokuWiki coding style

Comments

For this kind of things, I find it simple to use interwiki links. in your interwiki.conf, just add

bug      http://mybugtracker.com/?id=

then link to your bugs with

[[bug>the_bug_id]]

It will even appear with the icon you'll set for the 'bug' prefix. — Christophe Gragnic 2007-12-06 08:11

plugin/ticketlinker.1255192665.txt.gz · Last modified: 2009-10-10 18:37 by laynee

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki