Forums

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

How to fetch second set of 100 test cases associated to test plan

494vish
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!
February 3, 2021

Hi All,

I'm new to Jira XRAY, kindly help me with my question.

I have a test plan with 300 test cases.
I'm able to use the graphQl mutation to fetch the first 100 test cases associated to a test plan, but how to get next 100 test associated to the test plan

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.
February 9, 2021

Hi @494vish 

 

In these cases, you need to add the argument "start" and execute the request for the next 100 results starting after the previous results.

Example:

getTests (jql: "project = 'AAA' ", limit: 100, start: 101)


With the above, you should be able to return the next 100 results, starting at issue 101 and so on.

For more information on the graphQL, please refer to the documentation https://xray.cloud.xpand-it.com/doc/graphql/

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

Suggest an answer

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

Atlassian Community Events