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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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

How to find XRay Tests in Test Execution (Jira Cloud)


Per the latest docs on XRay for Jira Cloud:

Specific functions are not implemented. 

Before migrating to Jira Cloud we used the testExecutionTests function from XRay server as described in

How is it possible to get the same result set in Jira Cloud?

6 answers

Our company just migrate to Jira Cloud and its huge disappointing. Jira cloud is only miserable shadow against jira server.

Hi @Karol Krasňan 

I am sorry to hear about your disappointment.
Yes, the Xray Cloud and Xray Server are two different apps since the architecture is different.
On the server, all apps run inside the same server. On the cloud, it is a distributed architecture where Jira is running on one server, Xray in another, and all other apps on the respective vendor servers.
Because of this distributed architecture, we could not provide the exact same user experience and feature as you find on the server. So moving from server to cloud will require some adaptation into the new way of doing things and the new features. Still, there are some improvements in the user experience we made in the cloud, so we believe the cloud also has its merits.

Please get in touch with Xray Support ( to share your experience with us so that we can look for solutions that could fit your needs.

Thank you.

Kind regards,
Rogerio Paiva [Xray Support Team]

Hi @Alysha Kester-Terry and @lucia.plaza 

However, it is possible to have the result you need by using GraphQL (with a query similar to the reply I gave Julien Messer above) or using a report like Test runs List:

Any additional questions, please get in touch with Xray Support (; we would gladly assist you.

Thank you.

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

Any solution yet?

Hi @Maksym_Kuchuran 

Yes, due to the architectural differences, in Cloud, the Apps run in a server outside the Jira server, so we don't have JQL functions.

As an alternative, please use the Test Runs List report:

It provides additional detail since it will list at the Test Run level; however, all the Tests will be there. It is possible to filter by several fields, including Test Execution keys, using saved filters.

Thank you.

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

Thanks for your  reply @Rogério Paiva - Xray Xporter 

I have already checked Test Run report previously, even though it looks nice and is pretty informative for my goal it does not suit unfortunately

I want to use JQL to pick needed Tests and pass their ids further to other system using Jira automation trigger Send Web request action 

So when user executes trigger on Test Execution issue type i need to gather all Tests that are in that execution through JQL and put them in body of web request

Are you using Jira links with Xray? What's the structure?

Isn't the solution to use JQL and query with the link relations?

Hi @Daniel Turczanski - JQL Search Extensions 

Unfortunately there is no "link" relationship between Test Execution and Tests inside that execution,  it is handled in some different way i guess

i was trying to get all the metadata for certain Test or Test Execution to possibly find the connection but didn't succeed 

Hi @Maksym_Kuchuran 

Would it be an option to use an API?

Xray has a GraphQL API that allows retrieving most of Xray's information.

Please check the documentation:

And try the query getTestExecution, here is the documentation for the query: On this page, you will find an example to retrieve the Tests related to the Test Execution.

In case you want to get several Test Executions at once, based on JQL, there is also this query getTestExecutions, and here is the respective documentation:

I hope this helps.

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

Like Julien Messer likes this

Hi @Rogério Paiva - Xray Xporter , this looks very nice, i've read through docs and looks like it can do the trick, let me try it

Thanks for your support,

Hi, I have a similar need and was able to use the GraphQL query as described in the documentation. Despite this I am struggling to findout how to search for all TestExecutions for a particular TestPlan ( the TestPlan reference is not a Jira field).

Finally I found with the following query a way to get the TestPlan information, now I am looking for a way to filter accordingly:

      query = "{ \"query\": \"{ "
        + "getTestExecutions(jql: \\\"project = 'DI'\\\", limit: 1) { "
          + "total start limit results { issueId "
            + "testPlans(limit: 1) { "
              + "total start limit results { issueId "
                + "jira(fields: [\\\"summary\\\", \\\"key\\\"]) "
                + "} "
              + "} "
            + "jira(fields: [\\\"summary\\\", \\\"key\\\"]) "  
            + "} "
          + "}"
        + "} \" }";

Does anybody have a hint?

Hi @Julien Messer 

You can use the getTestPlan query like this:


getTestPlan(issueId: "18008") {
tests(limit: 100) {
results {
testType {
testExecutions(limit: 100) {
results {


And you will get the Test Executions like this:



In the documentation (, you can navigate through the elements that you can be used in the query.

Please check the steps I use below:




Thank you.

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

Thank you Rogério for your help, the way you describe is working fine for me.

i miss this feature so much in jira cloud :( being able to list and export the results of a test execution with i"ssue in testExecutionTests"

Hi @Joao Nuno Madeira Machado 

Since Jira Cloud architecture is different from Server/DataCenter, it is impossible to have the same features.

However, it is possible to have the result you need by using GraphQL (with a query similar to the reply I gave Julien Messer above) or using a report like Test runs List:

Any additional questions, please get in touch with Xray Support (; we would gladly assist you.

Thank you.

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

This would be immensely helpful on Jira Cloud

I have the same question...

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events