Create
cancel
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 get list of test runs assigned to user Edited

Hi

We use X-ray to manage our test strategy.

We would like to have more than one user per test execution. so one test run for a specific assignee. Our test execution are organised per area not per person.

In the test execution, we assigned test runs to different user. Now, the assignee needs to see which test run he/she has to work on. Is there a function to list that or a field we can call to get a list of test runs assigned to a specific user?

Please advice.

Thanks

1 answer

Hi @sgarcette

You can use one of our enhanced JQL's, in this case the "testExecutionTests" and on parameter 3 add the user that you want filter by test run assignee:

issuetype = 'Test' and issue in testExecutionTests('DEMO-9', 'TODO', 'user A') 

You can check our documentation related this topic: Enhanced JQL

Best Regards, 

 

Sérgio Freire, Solution Architect and Testing Advocate @Xray

Personal blog on testing, Agile and software development: https://sergiofreire.com

Follow me on Twitter: https://twitter.com/darktelecom

Hi Sergio

Thanks for your answer. It helps a lot.

Now, if we want to follow all the test runs assigned per user and clickable like in a two dimensional filter statistics gadget, is there a way?

Thanks

Hi again :)

well, in Jira, JQL functions can only return issues. Test runs are not issues so you cannot JQL functions for that.

You may either use gadgets such as the Test Runs List gadget and instantiate it multiple times, one for each user.

you may also use JQL to obtain test issues but then you need to go to each test in the UI to find out the te at run that interests you.

In sum, there isn’t something exactly as you need.

 

regards

sergio 

Hi Sergio,

I used the JQL with the function TestExecutionTests(...) as you recommended above. JIRA tells me then, that this function doesn't exist. Do you know what's the problem here?

 

Regards

Kristin

Hi Kristin, my fault. I haven't noticed that you were using Xray on Jira Cloud.

Unfortunately, on Jira Cloud we don't have JQL functions due to limitations of Jira Cloud itself, for the time being.

So, the only possible solution, as of today, is to instantiate the Test Runs List gadget and configure it to show for a certain user. A given user can have his/her own Jira dashboard or you can have just one team shared dashboard, but in the latter case you would need to instantiate the Test Runs List gadget multiple times.

Note: if you want, you may reach out to Xray support team and request a feature/improvement, detailing exactly what you need.

Regards,

Sérgio

Alright! Thanks for your fast reply. Will it be possible in the future for JIRA Cloud?

Like Sergio Freire likes this

@Kristin Schmidt perhaps but honestly that is something that the PO needs to analyze. Please reach out to the support team and request the feature/improvement :)

Like Kristin Schmidt likes this

Okay, I'll do that. Thanks!

Suggest an answer

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

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

249 views 2 5
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