Template:OTRS ticket

From Wiktionary, the free dictionary
Jump to navigation Jump to search

OTRS ticket # [[otrs:{{{1}}}|{{{2}}}]]


This template creates a hyperlink to an existing OTRS ticket. It is useful for OTRS agents wanting to refer to the content of specific tickets (for example, to request undeletion of a file). The template takes two parameters: the first is the ticket ID number and the second is the ticket number itself. Both are required for the template to operate correctly, and neither has a default value.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
1first parameter

This is the ticket's ID number, visible in the URL of the ticket

Default
Example
{{OTRS ticket|9552593|2016110210002783}}
Auto value
Stringrequired
2second parameter

This is the actual ticket number, which is rather longer than the ID number

Default
Example
{{OTRS ticket|9552593|2016110210002783}}
Auto value
Stringrequired

Usage

[edit]

{{OTRS ticket|TicketID|TicketNumber}}

Example

[edit]

{{OTRS ticket|502785|2006110810008642}}

gives:

OTRS ticket # 2006110810008642

which links to:

//ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=502785
(Note that users who do not have OTRS permission will not be able to follow such a link for privacy reasons.)