I recently integrated our TR project with JIRA and the biggest pain in the *** was the generation of Integration Key.
Now, if you have admin rights in both systems, this should be a pretty straightforward process. However, if you’re not an admin and/or your JIRA admin doesn’t have access to TR, you have to keep in mind the following:
- You cannot generate an integration key anywhere in the TestRail UI. There is just no option for that. The only possible way to reach this endpoint is just to access the URL directly via your browser. Now, I’m not sure if the link is the same for all TR instances, but I assume it is, so you can probably find it on https://XXXXX.testrail.io/index.php?/ext/jira_auth link (where XXXXX is your TR instance).
- In order to generate this key, you should have admin rights in TR. If you don’t, ask your TR admin to generate a key and send it back to you.
- Then you should add it in the JIRA configurations. If you don’t have admin rights, contact your JIRA admin and send him the link for your TR instance as well as the integration key generated in step 2.
Additional notes - I was afraid that generating a new integration key could screw up previously generated keys, so I contacted the TR support (Jacob, if you’re reading this, thanks man), and I was wondering if I should use the same integration key if I’m linking more than one JIRA instance with the same TR instance.
- You can generate as many integration keys as you want. New keys are not overriding old keys.
- You should use separate integration keys if you’re integrating your TR with multiple JIRA instances.
Hope this helps you.