Forums

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

Is there a way to import a test case into a specific X-Ray folder?

Grayson Gladstone
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!
September 1, 2023

We have one Test Board with several folders within it. When importing test case and executions, we want them to go to a specific folder. Is there parameter on this endpoint for that?
https://xray.cloud.getxray.app/api/v2/import/execution/junit/multipart

1 answer

0 votes
Manoj Gangwar
Community Champion
September 1, 2023

Hi @grayson ,

Welcome to the Atlassian Community!!

Currently, that feature does not exist in Xray. You may use a second API request using GraphQL to add the Test to a folder: https://xray.cloud.getxray.app/doc/graphql/addteststofolder.doc.html

We have this improvement suggestion (https://jira.getxray.app/browse/XRAYCLOUD-3673)

Grayson Gladstone
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!
September 5, 2023

Thanks for sharing that graphql call and the suggestion ticket! 

Suggest an answer

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

Atlassian Community Events