Hi,
My intent is to query the lookback API to pull back a large number of records for User Story - Schedule State snapshots. I am setting Compress = True to limit the number of results, but they are still larger than the max page size, so I am needing to do multiple calls to retrieve all the data. I found the following in the lookback documentation:
The default behavior of the CA Agile Central Lookback API is to compute the number of items in the result of a query and return this as TotalResultCount. For large queries that involve traversing multiple pages, it may be more efficient for your application to simply issue subsquent requests for latter pages based on the value of "HasMore" and exclude the computation of the total result count.
My assumption is that if I set include TotalResultCount= false and in my result set HasMore = true, for my second query, I then set the Start equal to the value of the prior CompressedResultCount, and for subsequent queries, set the Start equal to that running total of the prior CompressedResultCounts. Am I on the right track there? It is seeming to work to a certain point but then I get an error: {"_rallyAPIMajor":"2","_rallyAPIMinor":"0","Errors":["Server Error: A problem occurred while processing your query."],"Warnings":[]}
If I reduce the page size, I can keep going, but eventually I get the error again. Any thoughts on what I am doing wrong?
Any help would be much appreciated.
Thanks,
Michael