OSLC REST interface only returns 1000 entries
![]()
I am trying to query a list of work items of a certain type using the OSLC REST interface. Everything worked find (with pagination) until the number of work items exceeded 1000. I am using the following URL to get the first set of 50 work items:
https://localhost:9443/jazz/oslc/contexts/_8IloQGRKEeGMeeKcLm-Fsg/workitems?oslc_cm.query=dc:type=%22customerDefect%22&oslc_cm.properties=dc:identifierThen I am using the URL in oslc_cm:next to get the next page and so on. However, after having returned 1000 entries I do not get back a new next URL. Also, oslc_cm:totalCount is 1000 even though there are more work items in total. There are a few topics in the forums on how to circumvent this with the Java API. Is there also a way to get around that with the OSLC REST API? The Reportable REST API does not have such a problem (at least not at 1000 work items). |
Accepted answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Apr 13 '15, 9:47 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Please see: https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/336705
This is a limitation in RTC. Markus Döllinger selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.