We have integrated Jenkins and Xray for test execution using Jenkins-Xray plugin.
After importing results in Xray, ‘Test Execution’ status is shown as 'TO-DO'. But as per our requirement we need to change it to 'Done' while importing results in Xray via Jenkins. We are using JSON contents to create 'Test Execution’ for additional details.
Could you please let us know which field should we use in JSON content?
Please feel free to suggest alternate solution.
Hi @ALOK KULKARNI ,
this cannot be done through the provided JSON file. You can do it indirectly, by configuring Xray to make this transition for you.
Please check this group of settings, namely these ones (you need to check with your Jira admin):
Choose what workflow status the test execution will transition to when a test run is executed.
Choose what workflow status the test execution will transition to when all the test runs are in a final status.
Choose what resolution will be applied to the test execution. This option is only available if the Resolved Test Execution workflow status is not none. The resolution is only changed for status of type done.
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
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