The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Adding a tests to testset using xray api

Sundar sarma
Contributor
June 30, 2023

I want to add a tests to testset using xray API. I heard that it is not possible through Jira rest api.
Can anyone send me the xray api link. If possible send me the api doc.

Also can you give me any example

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Stefan Salzl
Community Champion
July 3, 2023

Hi @Sundar sarma 

This is the xray documentation of their API:
https://docs.getxray.app/display/XRAYCLOUD/REST+API

As you already mentioned the rest API is not capable of this functionality.

Nevertheless: The GraphQL API can do this work. The following link might be what you are looking for:

https://xray.cloud.getxray.app/doc/graphql/addteststotestset.doc.html

 

Hope this was helpful.

Best
Stefan

Stefan Salzl
Community Champion
July 6, 2023

Hi @Sundar sarma 

Please let us know if you already could check the links or try out any of the solutions.

Best
Stefan

Martin Pohmer
August 5, 2025

Yes I changed the endpoint but it was not possible add test steps

I am using the Xray plugin for Jira.

I think I read somewhere, that this is only possible in the cloud solution of Xray

Stefan Salzl
Community Champion
August 5, 2025

Hi @Martin Pohmer 

This post is 2 years old. In case you´ve got a similar question I would rather suggest to open a new question and describing exactly your situation/problem you are trying to solve and examples of what you´ve tried so far. Don´t hesitate to tag me there. I´m eager to help whenever possible.

Thanks in advance.

Best
Stefan