Forums

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

JIRA REST Client API 5.2.2

Markus Hofmann
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 23, 2022

Hi,

 

I have a question about the SearchClient of the Jira Rest client API in version 5.2.2

searchJql("project = myIssues", 5, 0, REQUIRED_ISSUE_FIELDS);

In the JavaDoc is written

startAt - starting index (0-based) defining how many issues should be skipped in the results. For example for startAt=5 and maxResults=3 the results will include matching issues with index 5, 6 and 7. For startAt = 0 and maxResults=3 the issues returned are from position 0, 1 and 2. When null is given, the default startAt is used (0).

I wonder, from my observation the index starts reverse. First I get the last element and then the maxResults works. Is there a possibility to get it from the beginning. Because in this case I dan start with startAt=99 and maxResult=3 and woud get 100, 101, and 102.

Thanks a lot,

Markus

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events