Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,187
Community Members
 
Community Events
185
Community Groups

Test Execution status to Done using REST API

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

1 answer

0 votes
Sergio Freire - Xblend
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Sep 02, 2021

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):

 

In progress Test Execution workflow status

Choose what workflow status the test execution will transition to when a test run is executed.

Resolved Test Execution workflow status

Choose what workflow status the test execution will transition to when all the test runs are in a final status.

Resolution for Resolved Test Execution

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events