Difference between revisions of "Template:Bug"

From ReactOS Wiki
Jump to: navigation, search
m (maybe it works now...?)
m (TLS)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{2|}}}|{{{2|-}}}|
+
<includeonly>{{#ifeq:{{{2|}}}|{{{2|-}}}|[https://jira.reactos.org/browse/CORE-{{{1}}} CORE-{{{1}}}]
[http://jira.reactos.org/browse/CORE-{{{1}}} CORE-{{{1}}}]
+
|[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>
|<!-- old BugZilla link: search it in JIRA by using the External issue URL field (http://reactos.org/bugzilla/show_bug.cgi?id=%ID%)-->
+
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)...
[http://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 <small>Bugzilla</small> {{{1}}}]
+
----
}}</includeonly>
 
<noinclude>
 
 
<nowiki>Usage: {{bug|123}}</nowiki> = {{bug|123}}
 
<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")
 
<nowiki>Link to JIRA: {{bug|6402|jira}}</nowiki> = {{bug|6402|jira}}(add a second parameter, e.g. "jira")
 
[[Category:Template]]
 
[[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")