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

How to map TestRail Test Run with a Jira story


Hi Team,

We have a test suite which contains set of common test cases, here each test case is referenced by single or multiple Jira story. When we add a test run for our test suite, we are able to view test results in the respective Jira stories which are being referenced. But the issue which I am observing here is when a test case is referenced by multiple Jira stories and all the test run results for that test case are getting displayed in all the Jira stories which are having the reference!!

My requirements:
We are from B2B team and we integrate our application with multiple Clients / Operators, hence we have common set of test cases which we will test after the integration with the Operators.

As I said, we have set of common integration test cases in Test Rail, and we add / update reference to those Test cases as we create a Jira story for the Operator in the sprint for testing. We create a specific Test runs for every Operator rather than duplicating the test cases. The concern is all the Test runs results are displayed for all the operator specific stories.

I am looking for a way wherein we can map the Test run in Test Rail to specific Jira story?

1 Like


Yes, I’m looking for that functionality too.

My example is similar - I have multiple Test Runs using the same test case, to test separate JIRA issues. If I edit the Test Case to include all the JIRA references, every test result for that Test Case is displayed in JIRA regardless of whether the test run was for that issue or not.

Seems logical to have issue / reference linking at the Test Run level, not Test Case level.

1 Like


I am currently running a trial for testrail.
I browsed through the forum and it seems this is still not supported. I have been reading threads starting in 2015. Does this mean the ability of linking a testrun to a JIRA task goes against some basic principles of how to associate test cases with tasks in JIRA or simply because there are other more important features?

Here is a scenario and please provide an alternative way to do this that would fit how testrail works.

  • We have customized applications from third party vendors
  • We have software developed in house
  • We run projects and gaps in the third party software are solved and patches are created for some of our core systems
  • The patch will trigger regression testing, both manual and automated
  • For patches we have defined a regression test suite that will trigger. The way I set it up in Testrail would be a testrun I copy from a template
  • The project that triggered this patch is described in JIRA and I want to link the testrun I have in Testrail with a task (Patching) in JIRA.

All the answers I have seen so far from Gurock is to link multiple test cases one by one to the JIRA task, but if these test suites are 300 test cases that’s a fairly mind numbing exercise.



Is there any update on this problem?



Export the Test results into CSV and you can see the mapping of Test Run ID with the Test Case ID.