It's all about the answers!

Ask a question

OSLC REST interface only returns 1000 entries


Markus Döllinger (1312) | asked Apr 13 '15, 9:44 a.m.
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:identifier
Then 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


permanent link
Ralph Schoon (61.8k33643) | 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


Register or to post your answer.