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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to create a JQL returning the XRay tests which have been executed by a specific account?

We use XRay as our Test management plugin and it's integrated with our automation framework, which automatically updates all test results from the framework into a new XRay Test execution or an existing test case execution.

For this purpose we use a generic Jira account, which doesn't expire and has a set of very specific entitlements. 

For reporting reasons and to get a better understanding of the adoption of the framework I would like to start reporting on the amount of tests executed by this generic user account - which should give us quite a good understanding whether test cases are actually adopted or still ran manually despite these being automated already.

Is there a possibility to search for Test cases, through JQL, with a parameter "Executed by". I assume this is linked to the TestRunStatus and as such I'm OK with multiple solutions as they give me some insights already.

- Amount of Test runs, linked to this generic test account
- #tests with latest test run executed by this account 

Or any proposal how to measure this would be appreciated a lot.

1 answer

Hi @sgoffin 

We would like to share with you our document:
In this document, you'll found below topics:

testExecutionTests - Returns a List of Test issues associated with the input Test Execution issues from P1 optionally filtered by the current test run status for each Test issue.

testExecWithTestRunsAssignedToUser - Returns a list of test executions where a user has at least one test run assigned to him. You can optionally specify a user with P1, or if the user is omitted the current user will be used. Note that if you are not logged in to JIRA, a user must be specified.

Hope this helps! 

Best Regards,



Solution Architect and Testing Advocate @Xray

Personal blog on testing, Agile, and software development:

Follow me on Twitter:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

97 views 1 6
Read article

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