Hi, we just imported Bugzilla tickets in our JIRA. One of the requests that came to me after the import was complete was to search JIRA for the issue with the bugzilla ticket number just by typing in the external issue id (the bugzilla ticket number) ....Now, I am guessing the search uses issue id as the base to pull up records. So here is my question, can we modify the search in some way so that it uses the external issue id instead to lookup for a matching issue?
What we did was to use the bugzilla ID gadget. Instead of referencing the old bugzilla bug search (show_bug.cgi) we placed a file on our server (show_bug.cgi) which actually executed the following script:
<html> <head> <title>JIRA search</title> <script type="text/javascript"> function get(name){ if(name=(new RegExp('[?&]'+encodeURIComponent(name)+'=([^&]*)')).exec(location.search)) return decodeURIComponent(name[1]); } window.location = 'http://<JIRA-SERVER>:8080/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+DEF+AND+issuetype+%3D+Defect+and+%22External+issue+ID%22+%7E+' + get('id'); </script> </head> <body> </body> </html>
Bugzilla ID gadget redirects us to our old bugzilla url. We don't want to do that. We want to search the corresponding jira issue that has that bug. One way we found is using the Simple Search feature in Issue Navigator but it is not quick and not many people in our company are aware of it.
Also, if the script file which you gave will help us, what should be the exact location of this file on our server?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can ignore that message. Place the file somewhere on a server (that can be reached out of your JIRA) and configure the Bugzilla ID gadget to point to that server location. That way the JQL is executed instead of searching your old bugzilla.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.