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

Import test cases from Feature File to specific xray test repository folder

Edited

Hi,

I am using below post method to import cucumber test cases from a feature file to xray using postman.

https://xray.cloud.xpand-it.com/api/v2/import/feature?projectKey=QA. which imports tests to Jira and there after I need to manually move theses tests to required folders

I would like to know on how to import the test cases within the feature file to a specific folder within the Test repository using xray API.

ImportToXray.jpg

1 answer

1 accepted

Hi @Jagadish Gubbi 

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) reported and gathering the interest of our customers to add the Tests based on the folders found in a zip of feature files.
Please vote and watch it so that you can receive email alerts.

Thank you.

Kind regards,
Rogerio Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

135 views 1 2
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