Hi
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.
Thanks,
Alok Kulkarni
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.
Regards,
Sergio
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.