Difference between revisions of "Template:Bug"

From ReactOS Wiki
Jump to: navigation, search
m (fixed whitespace)
m (TLS)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[http://www.reactos.org/bugzilla/show_bug.cgi?id={{{1}}} Bug {{{1}}}]</includeonly>
+
<includeonly>{{#ifeq:{{{2|}}}|{{{2|-}}}|[https://jira.reactos.org/browse/CORE-{{{1}}} CORE-{{{1}}}]
<noinclude>
+
|[https://jira.reactos.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=%22external%20issue%20id%22%20is%20not%20empty%26%26%22external%20url%22%3d%22http%3a%2f%2fwww.reactos.org%2fbugzilla%2fshow_bug.cgi%3fid%3d{{{1}}}%22 #{{{1}}}]}}</includeonly><noinclude>
 
+
This template creates a link to the old Bugzilla bugs in default (now imported to JIRA). To find those bugs under their new ID, the link creates a search query. If you directly want to link to JIRA add a second parameter like "jira" or whatever (only checks if there is an second parameter)...
<nowiki>Usage: {{bug|x}}</nowiki> = {{bug|x}} [[Category:Template]]
+
----
 +
<nowiki>Usage: {{bug|123}}</nowiki> = {{bug|123}}
 +
<nowiki>Link to JIRA: {{bug|6402|jira}}</nowiki> = {{bug|6402|jira}}(add a second parameter, e.g. "jira")
 +
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:53, 17 June 2016

This template creates a link to the old Bugzilla bugs in default (now imported to JIRA). To find those bugs under their new ID, the link creates a search query. If you directly want to link to JIRA add a second parameter like "jira" or whatever (only checks if there is an second parameter)...


Usage: {{bug|123}} = #123 Link to JIRA: {{bug|6402|jira}} = CORE-6402(add a second parameter, e.g. "jira")