Difference between revisions of "Template:Ticket"
Jump to navigation
Jump to search
(pushed from rq by wikipush) |
(pushed from media by wikipush) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude><!-- THIS FILE IS PROTECTED - smartGENERATOR WILL NOT OVERWRITE IT --> |
This template is for referencing tickets | This template is for referencing tickets | ||
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 closedAt}} | ||
+ | * {{Link|target=Property:Ticket createdAt}} | ||
+ | * {{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 createdAt={{{createdAt|}}} | ||
+ | |Ticket closedAt={{{closedAt|}}} | ||
+ | }}{{#ifeq:{{{state|}}}|closed|{{Done}}|}}</includeonly> |
Latest revision as of 09:15, 29 January 2022
This template is for referencing tickets
see
- Property:Ticket title
- Property:Ticket project
- Property:Ticket number
- Property:Ticket closedAt
- Property:Ticket createdAt
- 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.