Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

How to link testrail test run results to JIRA


Hello Team,
Currently I have set up test cases and linked them with JIRA references and when I add test run for these cases, it does link the test results to JIRA under tab ‘For test cases’ and ‘All Result’ but it does not show anything under tab ‘For Tests’ instead it displays ‘No test results in TestRail are linked to this issue’.

I have 2 questions

1)Why it does not display anything under ‘For Tests’ tab, is it because there is no linking between test run results and JIRA id’s?, how could I link test cases and test results both with same JIRA reference.?

2)If I does not provide any reference in the test cases is there any way I could link the test run results with JIRA id?


Confusion around purpose of JIRA plugin's "For Tests" & "For Cases" views

Hello Ankit,

Thanks for your posting! Yes, you can link test results via the Defects field and this is what’s represented by the For Tests option in JIRA. The For Cases on the other hand displays results linked indirectly via the References field on the test case level and is mostly used to link requirements/features/user stories. The Defects fields on the Add Test Result dialog is also used to link test results to JIRA issues and this is mostly used to link bugs in JIRA to test results in TestRail (and vice versa).

You can also directly push/add new JIRA issues from the Add Test Result via TestRail’s pus feature:



Thanks Tobias for quick reply.

Is there any way we can deactivate this ‘For Tests’ option in JIRA.



Hello Ankit,

This is currently not possible but we are happy to look into this, thanks for your feedback. The For Tests option would only show any results if you link issues with the Defects field from the Add Result dialog but those results also appear with the All Results option.




Is there a way were I can link the test run/plan to a JIRA ticket instead of the individual test cases inside that test run/plan?



Hi Abegail - we don’t support linking test Runs or Plans to JIRA currently, because we haven’t really seen a good use case for it. Most of our users prefer to be able to see the test cases that would be included within the run or plan to be displayed in the Jira issue instead.

If you can explain your context a little more, and why linking the Run/Plan makes sense for you - then it’s certainly something we can look into further!



Hi Simon,

I have a use case for this.

We run regression testing for our releases which consists of over 1000 test cases organised into a single test plan. It would not be very helpful to see the information on such a granular level (nor do we want JIRA to spend ages loading information for all of these test cases at once!). Instead it would be helpful to see the overall status of the test plan as well as status of each configuration or test run. For example, I want to see the following progress details of the Regression Test Plan and configuration or Test Run within this plan:

  • % complete
  • number of passed/failed cases

Another use case would be that we are releasing a set of work completed within a sprint. We may have had test cases associated with various JIRA tickets, but towards the end of the sprint, we want to run through all of these test cases at once and therefore set up a plan to contain these. Similarly to the above, it would be helpful to see the progress of this plan and runs in one JIRA ‘release’ ticket.



I was looking for this too. We always create a “Regression Test” task ticket in JIRA before every release and linking individual test cases to it just doesn’t work. Linking a Regression test run, however, would be great.



This feature also gets my vote.


Add my vote. Hope this feature can be implemented soon.


Add my vote too. It would really help us to sort our test if we could link/reference our test plan/run to Jira Issue instead of individual TCs.


Yeah, I could really use this as well. I’m kind of surprised that this wasn’t considered an obvious use case.


Add my vote as well.


Please add my vote as well! This feature is much needed! I have worked at two companies that use Testrail and both have had the need to link testrail testplans to a jira ticket! Its such an obvious use case.

Thank you


ditto - add me to the voter roll. i have an issue type called ‘release ticket’ and i want to link my test run to this ticket - helpful for audit process


We have been using Testrail and recently moved to Jira.

We’re trying to give our team a clearer view of how QA work is progressing, and management wants this insight too so we can easily track progress on our Kanban board.

When we’re testing functionality (as opposed to bug fixes), linking a few test cases isn’t sufficient – for a complex new feature, there might be a few hundred test cases in play, and attaching them all to Jira ticket doesnt make sense.

What would be great would be the ability to link “Story” or “Epic” tickets in Jira to Test Runs or Test Plans, so the tracking ticket could display progress % and any failures.


This feature gets my vote too, in our case this will provide us a complete view of feature development and testing, we will be able to track the testing along with the feature story while multiple QA folks working on testing multiple features.


We need this feature too. In some cases we have 15-20 test cases for a JIRA; this crowds up the JIRA if we show all test cases. It will be really helpful to link test run instead of test cases so there is just 1 link sitting in test cases area.



I need this feature as well. I can easily see the Test Case from jira by referencing it but the Tnnnnn results direct me back to the test case as well and I would really like to go to the results page. Sometimes people forget to add milestone to results and I have to look for each Test run to edit to add that. Having that link available in jira would be great, take me right to the Test Run.


This would be a very beneficial feature for me, too. Right now, we have to link our test runs automatically with our tickets, as most of them require repeated use of test cases for regression purposes, and cannot all have the same ticket number associated with them. It would be a massive improvement to our auditing if test runs are available to be integrated.