Xray: How do I add a Test to a Test Set through Jira Cloud API

Deleted user February 12, 2021

I am creating a large amount of Test issues on Jira Cloud by importing Cucumber feature files using the following documentation: 

https://docs.getxray.app/display/XRAYCLOUD/Importing+Cucumber+Tests+-+REST+v2

Is it possible to add these Test issues to a new or existing Test Set issue in Jira Cloud using the API?

Note: There is a way to do this through Jira Server using the following documentation, but I cannot use the /raven endpoints - I assume this is because my company utilizes Jira Cloud and not Jira Server:

https://docs.getxray.app/display/XRAY/Test+Sets+-+REST


 

1 answer

0 votes
Rogério Paiva - Xray Xporter
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.
March 24, 2021

Hi @[deleted] 

 

In Xray Cloud, you have the option available using a different API; it is the GraphQL API, and please check these documentation pages:

https://docs.getxray.app/display/XRAYCLOUD/GraphQL+API

https://xray.cloud.xpand-it.com/doc/graphql/addteststotestset.doc.html

If you need further help, please contact the Xray Support (http://xraysupport.xpand-it.com) so that we can request additional information and investigate further.

Kind regards,
Rogério Paiva [Xray Support Team]

Suggest an answer

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

Atlassian Community Events