-
Bug
-
Resolution: Fixed
-
Low
-
None
-
5
-
Severity 3 - Minor
-
Summary
Jira Service Desk REST API pagination attributes not working as expected
Steps to Reproduce
- Perform a call to JSD REST API like:
Get customers
GET /rest/servicedeskapi/servicedesk/{serviceDeskId}/customer
- Make sure that your instance has multiple customers (1K+)
- Try to use the parameter:
?start=1000
Expected Results
- We should be able to retrieve the users from that specific position
Actual Results
No users are retrieved.
Notes
Other issues with this endpoint:
- Even if not specified on the documentation, this is an experimental endpoint. Therefore, you must add the X-ExperimentalApi: opt-in header in your requests or it won't work.
- The isLastPage attribute is returning as true on each request.
- The start and limit attributes do not reflect the values passed as url parameters.
For example, callling: https://XXXX.atlassian.net/rest/servicedeskapi/servicedesk/12/customer?start=10&limit=10 returns:{ "size": 10, "start": 0, "limit": 50, "isLastPage": true, ...
Workaround
There are no workarounds available at this time.
- relates to
-
JSDCLOUD-4187 Inconsistent JIRA Service Desk REST API Pagination
- Closed