Forums

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

How do I organize Xray test cases in a test execution like they are in the test repository?

Abby Watt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 30, 2023

Once test cases are added to a Test Execution, I'd like to be able to view how they're organized in the Test Repository so that I can easily assign related test cases. For example, with the hypothetical folder structure below, I might want to assign myself all of the test cases for Project A -> First Page -> Top of first page

Hypothetical Xray Test Repository Folder Structure

  • Project A
    • First page
      • Top of first page
        • Header
        • Nav Menu
      • Middle of first page
        • Data table
          • Search field
      • Bottom of first page
        • Footer
    • Second page
      • Top of second page
        • Another header
        • Different nav menu
  • Project B
    • First page
    • Second page

 

Is there a way to do this through the UI? 

I can do this by filtering the test execution with jql:

issue in testExecutionTests(TEST-124) AND issue in testRepositoryFolderTests("Test Project", 'Project A/First page/Top of first page', "true")

However, I first need to figure out which folders my test cases are in, and it's not convenient to have to run this query dozens of times if I have a lot of folders in my repository that have test cases added to my execution.

1 answer

0 votes
Abby Watt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 6, 2023

I've contacted the Xray support team, and there is currently no way to do this through the UI. If this is something you'd like to see in the tool too, please vote on this suggestion: Xray should provide structural organization with folders for Test Executions

Suggest an answer

Log in or Sign up to answer