Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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. 

0 votes


Accepted answer

Permanent link
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

1 vote


One other answer

Permanent link
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

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Apr 24 '13, 1:23 a.m.

Question was seen: 4,112 times

Last updated: May 03 '13, 5:27 a.m.

Confirmation Cancel Confirm