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

In Xray is there an API request to get Test Execution results metrics

Alex Relton Brown
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!
March 22, 2024

Is there any way to retrieve the results metrics of an XRay Test Execution from the API? E.g. the number of Tests Passed, Failed, Executing & To Do.

I know you can do a getTestExecution > testRuns > results and then count each Test Run’s status but I am hoping this information is available directly from the API without the need for the counting/calculation.

In the XRay UI this information is readily available - in the Test Execution view and in the list of Test Executions etc. - where is this coming from? Is it being calculated on the fly?

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Valerie Knapp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 22, 2024

Hi @Alex Relton Brown , welcome to the community and thanks for your question!

For this type of question, I would normally ask the vendor. You can reference their documentation or open up a ticket here https://marketplace.atlassian.com/apps/1211769/xray-test-management-for-jira?hosting=cloud&tab=support .

I hope this helps.

Cheers

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events