Question

Is there a way to increase the pageSize per AJAX call to webservice API in Rally.I need to display the task count per team member in a given project.I can do it my making continuous AJAX calls to retreive the tasks per team member.Suppose if there are 80 people working on this project I need to make 80 calls to WebService API.Another Approach I thought of is to get all the tasks of all the team members using single query and then filter the results according to the owners of the tasks but this approach will only return the first 200 tasks since there is a limit on the pageSize. How can I get all the results in a single Query?

Was it helpful?

Solution

Are you using one of our App SDK's?

http://developer.help.rallydev.com/app-sdk

In 1.x RallyDataSource.findAll will automatically page for you and return all results. There are good examples of how to use it here.

In 2.0 preview the WsapiDataStore has a limit parameter you can set to Infinity or some other large maximum number of results to return.

Examples: http://developer.help.rallydev.com/apps/2.0p5/doc/#!/guide/appsdk_20_data_stores

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top