Difference between revisions of "Template:Ticket"
Jump to navigation
Jump to search
(pushed from rq by wikipush) |
(pushed from media by wikipush) |
||
Line 3: | Line 3: | ||
see | see | ||
− | {{Link|target=Property:Ticket}} | + | * {{Link|target=Property:Ticket title}} |
+ | * {{Link|target=Property:Ticket project}} | ||
+ | * {{Link|target=Property:Ticket number}} | ||
+ | * {{Link|target=Property:Ticket closed_at}} | ||
+ | * {{Link|target=Property:Ticket created_at}} | ||
+ | * {{Link|target=Property:Ticket url}} | ||
+ | |||
= Usage = | = Usage = | ||
<pre>{{Ticket|30|Cleanup Template}}</pre> | <pre>{{Ticket|30|Cleanup Template}}</pre> | ||
+ | <pre>{{Ticket|CONFIDENT-373|Webanalytics strategy|wiki.tib.eu}}</pre> | ||
+ | |||
{{Ticket|30|Cleanup Template}} | {{Ticket|30|Cleanup Template}} | ||
+ | {{Ticket|CONFIDENT-373|Webanalytics strategy|wiki.tib.eu}} | ||
+ | |||
[[Category:Template]] | [[Category:Template]] | ||
− | </noinclude><includeonly>{{#vardefine: | + | </noinclude><includeonly>{{#vardefine:path|/issues/}}{{#if:{{{number|}}}|{{#vardefine:number|{{{number|}}}}}|{{#vardefine:number|{{{1|}}}}}}}{{#if:{{{title|}}}|{{#vardefine:title|{{{title|}}}}}|{{#vardefine:title|{{{2|}}}}}}}{{#if:{{{project|}}}|{{#vardefine:project|{{{project|}}}}}|{{#vardefine:project|{{{3|SmartDataAnalytics/OpenResearch}}}}}}}{{#vardefine:url|{{#show:{{#var:project}}|?OsProject url}}}}{{#if:{{#pos:{{#var:url}}|/jira/}}|{{#vardefine:path|/}}}}[{{#var:url}}{{#var:path}}{{#var:number}} Issue {{#var:number}} - {{#var:title}}]{{#subobject:- |
− | |Ticket | + | |Ticket number={{#var:number}} |
|Ticket title={{#var:title}} | |Ticket title={{#var:title}} | ||
|Ticket project={{#var:project}} | |Ticket project={{#var:project}} | ||
− | + | |Ticket url={{#var:url}}{{#var:path}}{{#var:number}} | |
+ | |Ticket created_at={{{created_at|}}} | ||
+ | |Ticket closed_at={{{closed_at|}}} | ||
+ | }}{{#ifeq:{{{state|}}}|closed|{{Done}}|}}</includeonly> |
Revision as of 18:33, 15 January 2022
This template is for referencing tickets
see
- Property:Ticket title
- Property:Ticket project
- Property:Ticket number
- Property:Ticket closed_at
- Property:Ticket created_at
- Property:Ticket url
Usage
{{Ticket|30|Cleanup Template}}
{{Ticket|CONFIDENT-373|Webanalytics strategy|wiki.tib.eu}}
[/issues/30 Issue 30 - Cleanup Template]"http:///issues/30" has been identified to contain an invalid "/issues/30" authority or path component. [/issues/CONFIDENT-373 Issue CONFIDENT-373 - Webanalytics strategy]"http:///issues/CONFIDENT-373" has been identified to contain an invalid "/issues/CONFIDENT-373" authority or path component.