Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Should requirement status of a story be changing after a story is done/closed?

I have a story JIRA-1 which is tested by test case XRAY-1. I run this test as part of a test execution/sub test execution and it passes. The story is then closed.

In the next spring I have story JIRA-2 which uses test case XRAY-1 but we've added a new step and associated this test case with our test execution/sub test execution. The requirement status of JIRA-1 is now NOK. Is this expected? 

Is there some configuration which allows the requirement status to remain as it is when the story is closed? 




1 answer

Hi Bronagh,

Yes, this can be done in many ways actually. It will depend on your organizations specific implementation of Xray and Test Management practices. 

In general, the way to address this is within the Analysis & Scope options within the Test Coverage section on the story. As you will see it is defaulted to Latest, which is going to always show the Latest Test Run Status (may not be the status from your sub/test execution on that story). This is expected behavior.

You will see an option also for Version or Test Plan. Switching to these options would let you see the Test Run Status as it was for a specific Fix Version, or a specific Test Plan. This would meet your need as I understand it.

So as an example, in your case if story Jira-1 has Fix Version 1.0, and your Sub/Test Execution also has Fix Version 1.0, then in the Analysis & Scope section, if you specify Version 1.0 it will only show you the Test Run Status for that Version. Similarly for a Test Plan. 

There is of course more detailed documentation in the Xray User Guide on this specifically (Coverage & Analysis Section).

Hopefully that helps.

So if fix version is the selected value and the the two stories have the same version, then the requirement status will reflect the of most recent execution of the test associated with that version in both stories? 


Similarly, if test plan is the selected value and the test associated with the test plan, on both stories the requirement status will reflect the most recent run of that test associated with the test plan? 


Is there a possibility to customise this field to prevent it being changed after a story has closed? To show that the requirements on the story had been met when the test was executed when the story was in progress? And ignore future runs of the test? 

Yes you are correct, if the Fix Version or the Test Plan value is the same, then you will still see the Latest Test Run Status.

I am using the Xray Cloud product, and in the Cloud version the functionality you are suggesting is not available. It is however available in the Server version. If you are using the Server version the functionality is handled for you under the "Separation of Concerns " functionality.

Unfortunately if you are using the Cloud version of Xray, this functionality is not supported. There are workarounds that have been suggested, but these may or may not work for you.

1. Cloning the Test (different test for the different story)

2. Using Different Fix Versions or Test Plans (not always feasible)

I hope that also helps. If not you are welcome to reach out to the Xpand IT support team directly. I am just sharing my knowledge as I have crossed the same bridge you are on now. :)

Thanks very much! This is really helpful! 

Like Rawan Bardini likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

New cloud apps roundup - June 2021

Since our last roundup in April, Atlassian's Marketplace Partners have added over 100 new cloud apps to the Atlassian Marketplace to help your teams work more efficiently. Let’s take a quick look a...

349 views 5 10
Read article

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