Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.
×I am using the JIRA REST API and am trying to paginate some search results.
For example, my query (HTTP GET) looks something like this: /rest/api/latest/search?jql=assignee%3dadmin&startAt=5
I know that there are 10 issues assigned to the admin user but I am expecting to only get 5 back from the above query; however, the search result contains all 10 issues and the value of 'startAt' is 0. I am using JIRA 4.4. Any ideas why it doesn't seem to be doing what it is supposed to do? I had a look at the REST API docs and the query string I am sending seems to be correct.
Thanks
Hi John,
I have a similar kind of issue. In my case, I have results more than 1000 in number and I want to access the results greater than 1000 in chunks by modifying the value of "StartAt" parameter. Though I keep changing its value, it retains its default value 0 while hitting a GET request.
On modifying the URL as stated by you in the last post, it throws the error "You have found a dead link".
Thanks in advance!!
Hi sbuckle,
Can you try to put the following result and see able to retrieve 5 issue?
/api/2.0.alpha1/search?jql=assignee%3dadmin&startAt=5
Thanks, John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.