Forums

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

Include folders when exporting tests from the Test repository to a e.g. a CSV file?

Anette Larsen
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!
August 7, 2025

Is it possible to include folders from Test Repository when exporting test cases from Xray to a e.g. a CSV file? 
This is really a need!

2 answers

1 accepted

2 votes
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 7, 2025

Hi @Anette Larsen 

No.

I suggest to create a feature request with Xray via, Xray Support or check the Xray roadmap

0 votes
Francisco Fonseca _Xray_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 19, 2025

Hi @Anette Larsen

Welcome to the Community!

Short answer is as @Marc - Devoteam said, the built-in CSV export from Jira’s Issue Navigator does not include the Xray Test Repository folder because that folder path isn’t a native Jira field.

However there are supported ways to get it:

Using GraphQL each Test exposes its repository folder (including the full path). Example you can run in Postman or your CI:

{
getTests(
jql: "project = ABC AND issuetype = Test"
limit: 100
start: 0
) {
total
results {
jira(fields: ["key","summary"])
folder { path }
testType { name }
}
}
}
  • Test.folder.path is the full folder string like /Regression/Login.  

  • getTests supports filtering by folder directly, i.e.: folder: { path: "/Regression", includeDescendants: true }.  

  • Endpoint & schema refs: GraphQL index and getTests.  

GraphQL Schema for assistance

Exporting to CSV: take the JSON and flatten jira.key, jira.summary, folder.path, etc., then save as CSV (Excel/Power Query, jq, or your ETL of choice).

In case assistance is needed, our support is here for you.

Best,
Francisco

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events