Forums

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

How to get tests and testsets in XRAY jira cloud setup

Koushik Mohan July 12, 2020

I am looking through XRAY jira APIs here. https://confluence.xpand-it.com/display/XRAY/Tests+-+REST#TestsREST-ExportingTests

But these APIs seem to be for jira server and not jira cloud. Jira cloud did not have these APIs. 

My main use case is get tests associated to testset and tests associated to repository folders.

 

Thanks in advance

1 answer

1 accepted

0 votes
Answer accepted
José Domingues [Xray]
Atlassian Partner
July 16, 2020

Hi @Koushik Mohan 

You can use our integration with the Graphql to obtain those type of requests, bellow the documentations that you can look for guidance:

Best Regards,

Team Xray

Sergio Freire - Xblend
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.
July 23, 2020

Hi @Koushik Mohan ,

just to add that we now have some postman collections that show you exactly how to this. More on this open-source project:

https://github.com/Xray-App/xray-postman-collections

 

Regards

Sergio

Koushik Mohan July 23, 2020

@José Domingues [Xray]  Yes I saw the GraphQL API. The problem is that I am writing an integration with x-ray. But according to the current flow, there is two flow. For cloud setup, I have to write graphQL implementation and for OnPremise setup I have to use the Rest API. Is there way to have a common flow. 

ie. Either Rest support in the cloud or vice versa.

Sergio Freire - Xblend
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.
July 23, 2020

Hi @Koushik Mohan ,

even though Xray Cloud and Xray server are similar products, they are different in nature, age, technologies, etc. Xray Cloud is also more recent, thererefore the Xray team decided for a more flexible approach - add GraphQL support.

So, unfortunately, you'll need to make separate implementations.

Regards,

Sergio

Koushik Mohan July 23, 2020

Thanks for the reply. I will try to make separate implementations

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events