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
Community Members
Community Events
Community Groups

Get Test result for a batch of TestIDs using REST API


 I used XRAY rest API

and it seems I can only use it with testExecIssueKey=12&testIssueKey=34 combination to get for a single test ID , what I want is get data dump for multiple test cases.

like when I request I can pass 

strat from this issue ID =0 ( with issue type TEST) to maxResult of 500


getting this error


b'{"error":"Test Execution key and Test issue key are required."}


all I need is - Test key , Test Execution Key , Status 

your advice.



1 answer

Hi @daniel m 

Yes, that REST API only returns one Test Run ID since there is only one Test Run for each pair of Test Execution <-> Test.

However, there is another REST API that returns all Test Runs of a Test case.

The REST API is described here:

If you need further help, please contact the Xray Support ( so that we can request additional information and investigate further.

Kind regards,
Rogério Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer

Community Events

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

Events near you