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.
This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity. Atlassian:...
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