Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to update test execution status using Json ?

Cyril December 16, 2024

Hello,

I can create automatically a Test Execution using Json file

"info" : {

 "project" : "project"

"summary" : "summary",

"description" :  "description",

"user" : "user",

"testPlanKey" : "key",

"testEnvironments": "env",

"version": "version"

}

but I'm not to update the status of this Test Execution.

Is it possible ? If yes, how does it work?

Thanks.

1 answer

0 votes
vikram
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.
December 24, 2024

Hi @Cyril 

Welcome to Atlassian Community. 

Yes, you can update the status of the Test Execution. 

Now I can guide the steps only, I will try to post the code,

1) Try to get the Test Execution Key

2) Get the transition ID of the by GET API transitions. 

3) Update the status of the Test Execution by transition ID 

Vikram P  

Suggest an answer

Log in or Sign up to answer