Forums

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

Not getting back paging meta data when calling API

Scott Abrants
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!
January 22, 2019

When calling https://mysite.com/rest/api/2/user/assignable/search?project=PROJECT1&startAt=0&maxResults=10 I am not seeing the paging information for the result set.  I currently have over 200 users that would be retuning.

Note this is a call directly to that API endpoint as defined here.  I have other calls into the search that will return additional paging information.

https://docs.atlassian.com/software/jira/docs/api/REST/7.12.0/?_ga=2.235953409.1837006706.1547673585-2073877368.1536756284#api/2/user-getUser

 

1 answer

0 votes
Tom Lister
Community Champion
January 26, 2019

Hi @Scott Abrants

the pagination Params passed to the REST API are there for the calling app to manage the data requested. It does not provide the pagination functionality itself.

Suggest an answer

Log in or Sign up to answer