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?
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
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 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.
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.