Dear Xray team
we have requirement in our project team that only the test case with status "ready for automation" should be exported to the repository and start the test case implementation.
is there any way to set this status as a parameters in the export method and only export the test case with a certain status?
We have a manual workaround to add test case with status "ready for automation" into a test set/test execution. is there a better automated way to do this?
Thanks a lot
Hi Shuqi Jiang,
Xray allows you to export Cucumber scenarios (i.e. generate related .feature files) based on either issue keys or a filter id with those issue keys.
These keys must reference issues with the Xray issues types Test, Test Set, Test Execution or Test Plan or any issue type mapped to the Requirement issue type.
A mix of these issue types is supported. In the same export call, you can include keys from each of the above issue types.
Thus, if you want to run just some Test issues (i.e. the ones with workflow status "ready for automation"), you have to use as input the issue keys (or filter containing them) of the Test issues that you want. You can also use a Test Set or a Test Execution or Test Plan as input, as long as they only have the Test issues you want (thus you have to prepare them beforehand).
If you want to export the Cucumber tests based on the requirements, then you'll have to do a "trick": create a filter that returns all the Tests associated with the requirements you want and then filter out the relevant Tests.
issuetype = 'Test' and key in requirementTests('Requirements saved filter') and status = 'ready for automation'
Xpand Add-ons Team
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs