Using RRA to Paginate and read all build result
I have a project with more than 500 builds. I am using RRA to read all the build results of this project. But at a time I get only 100 results back. Here is the query that I use
https://host/ccm/rpt/repository/build?fields=buildResult/buildResult[buildDefinition/id='myBuildDef' and buildStatus='OK']/(buildDefinition/projectArea/name|uniqueId|itemId|label|buildStatus|startTime|timeTaken)
Do we know how to paginate through all the build results.
|
Accepted answer
Hi Praveen
Haven't tried it out with build results but take a look at Page 9 (Section 4.1) of http://open-services.net/pub/Main/ReportingHome/Reportable_Rest_Services_Interfaces-OSLC_Submission.pdf which describes pagination for large data sets. Praveen Kumar selected this answer as the correct answer
|
One other answer
Stephane Leroy (1.4k●1●4●9)
| answered May 03 '13, 5:15 a.m.
JAZZ DEVELOPER edited May 03 '13, 5:27 a.m.
Hi Praveen,
same. Haven't tried myself. But I would suggest you to try the approach described by Kot in the the following post Basically you'd need to navigate to the "next" page whose reference would be returned to you in the HTTP answer. Note that it's the same approach than prescribed in Freddy's pointed reference document. Hope this helps. Regards, Stéphane |
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.