Forums

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

Xray GraphQL API shows default step statuses instead of actual step state in Jira Cloud

Naresh Sampath
December 23, 2025

Hi Team,

I’m using Xray Test Management Plugin in Jira Cloud.
I’m querying Test Executions using the Xray GraphQL API (getTestExecutions) to identify the step status/state for test steps.

However, the GraphQL response always returns the default step statuses provided by Xray, instead of the actual step state updated during test execution.

My requirement is to fetch the real step state/status (for example: custom statuses like NA-PASSED, NORUN, etc.) from the Test Execution using GraphQL.

I’ve attached screenshots for reference showing:

  • The step status updated in the Test Execution UI

  • The GraphQL response returning only default values

Could you please let me know:

  • Is it possible to fetch the actual step state via Xray GraphQL API?

  • If yes, which query should be used?

  • If not, is there any alternative API or workaround?

Thanks in advance for your support.

Screenshot 2025-12-23 203430.pngScreenshot 2025-12-23 203540.png

Screenshot 2025-12-23 203120.png

1 answer

0 votes
Marc -Devoteam-
Community Champion
December 23, 2025

Hi @Naresh Sampath 

I think you need to combine this with the endpoint https://us.xray.cloud.getxray.app/doc/graphql/getstepstatuses.doc.html 

But to be sure, you should reach out to Xray support.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events