DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:ticketlinker

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

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.txt · Last modified: 2010/10/03 16:00 by HåkanS