Hi,
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: https://confluence.xpand-it.com/display/XRAYCLOUD/Project+Settings%3A+Test+Coverage), 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?
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marte,
Here's a guide to help you find your SEN: https://confluence.atlassian.com/support/how-to-find-your-support-entitlement-number-sen-229840018.html
Reach out to our support team and they'll guide you through the process to solve your issue.
Best Regards,
Team Xray
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great! Thank you for your response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marte,
I am also facing same issue. Can you pls explain how did it worked for you with flow and some screenshot?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Marte
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Perfect... It is showing properly now.
Thank you Marte. :)
Regards,
Atheeq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marte Skrunes Ellingsen I tried your method but I still see my story is uncovered despite associating test as tests. Please help:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Asher Sinha Update your linked issue on your bug so it is 'tested by' PLUS-6135. This should reverse the direction of the relationship and show the bug as 'covered'. From the screenshot, it's opposite way.
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.