Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Add existing test to test coverage in Story


System: Jira Xray

Problem: Cannot link existing test to the entity "Test Coverage". We've created a lot of tests in Xray, and linked them manually to stories (using "Linked issues"). Now we've defined Story to be test covered in the settings (using this instruction:, but when I create reports to see Test Coverage for a defined Test Plan it seems to be none. 

Question: How can I link existing tests to the entity "Test Coverage" to get my reports / Dashboards to be correct?


2 answers

The other way to handle this issue is that if you have already created the test ticket, and wants to cover for a specific story, then just go to the story and in link issues user "Is tested by" and add the test ticket number as a result when you refresh you will see that the story is covered

0 votes

Hi Marte, 

Can you please verify if in Jira Administration >> "Jira Settings", "Field Configurations", if the field "Linked Issues" is hidden? It's necessary for Xray that this field remains visible.

If this not solves the problem, please contact us through our Service Desk.


Best Regards,

Team Xray

Thanks for contacting me. Unfortunately it's not easy for the Project to get the SEN-number, so I wasn't able to send a request through your service desk. 

Your suggested solution did not work for us, the field is visible.

More information to the problem: The test-coverage are working as expected on tasks that was being linked to tests after the setting was done. 

Hi Marte, 

Here's a guide to help you find your SEN:

Reach out to our support team and they'll guide you through the process to solve your issue.

Best Regards,

Team Xray

Has this been resolved?  I am having the same issue and needing to be able to use existing tests on a story and would like to not have to create a duplicate test case.  

Hi, yes. You must link the existing Test to the issue by using "Tests", and search up the issue. It's better to do it from the Test-issue type, not from the Story / Bug / Epic. You will then see that its covered from the Story / Bug / Epic the test is linked up to.Linked issue from test-issue.JPG

Like # people like this

Great!  Thank you for your response.  

Like # people like this

Hi Marte,

I am also facing same issue. Can you pls explain how did it worked for you with flow and some screenshot?

Hi! If you see my screenshot its from a task. Open your test-issue type instead, and choose "Linke Issue" and then choose "Tests.." and find you task / story. It should be linked correctly. 

Hi Marte,


I have created xray test issue type only. But still it is not coming under Test Coverage.

Screenshot below for your reference.


I want TAR-21 to come under test coverage. Pls help


You must change the relation to "Tests", its currently set to "is blocked by". 

1. Open TAR-21

2. Change the linked value from "is blocked by" to "tests", and select TAR-20

Please let me know if this helps.


Perfect... It is showing properly now.

Thank you Marte. :) 



Like marte-skrunes_ellingsen likes this

@Marte Skrunes Ellingsen I tried your method but I still see my story is uncovered despite associating test as tests. Please help:test coverage.png

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you