Forums

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

XRAY Test Execution Individual Step Endpoint

Avik Vaish
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 3, 2024

Hi, I'm currently trying to modify individual steps of a test execution in XRAY using the XRAY REST API v2.0. I got my script working for executions with multiple iterations, but when trying to do a post request on a single iteration test execution, I get an error. 

My end point is testrun/*execution_id*/step/*step_id*. I get the error:

Can not perform this operation, because the Test Run has iterations. Please use another endpoint for it. 

This test run has no iterations, but I tried to find endpoints using a format below:

testrun/*execution_id*/iteration/*execution_id*/step/*step_id*

Haven't had any success. Thanks for the help in advance.

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Thomas Rangeard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 23, 2024

Hello,

I have the same issue. It appears that the system still creates an iteration_id even with a single row in the dataset (I found this through brute-forcing), but I have no way to find it with the API.

Did you solve your issue by any chance?

TAGS
AUG Leaders

Atlassian Community Events