Search code examples
jira-xray

Requirement status not updating when the linkage is created via test importer


In Xray test management and within a Jira environment, the requirement status of the story is not changing to (not Run) when I linked it within a test from the test importer (using a CSV).

Is it a bug? If I do the same manually, the requirement status is changing.

Does anyone have a solution for this?

CSV like: enter image description here

Map of coverage: enter image description here


Solution

  • I tried to replicate this issue in Xray cloud and it works fine; since it's a SaaS solution, it should behave similar on your end. At first sight all seems to be ok. Nevertheless I'll share some instructions that may be helpful. Things to check in order for the coverage in a story to show as "NOTRUN", whenever we "add" a Test issue to it:

    • make sure the Story is configured as being a "coverable issue type" in the project settings
    • make sure you're adding the Test issue type from Xray and not another one which may have a similar name (somethimes this happens in some environments where people try other tools or create their own issue types by hand)
    • whenever creating Tests and linking them to requirements/user stories by using the Test Case Importer, make sure you map the CSV column where you identify the Story issue key to the 'Link "tests" outward'
    • if all the previous are ok and the problem persists, you may try to reindex the project; go to your project settings > Apps > Xray Settings > Reindex (info)
    • if the last doesn't work, please reach out to Xray support team so they can have a look it in more detail with you