It's all about the answers!

Ask a question

Work Item query with > 1000 results


Dana Price (121) | asked Aug 11 '09, 3:21 a.m.
I'm running a query for all work items for a specified iteration.

After a call to queryClient.getResolvedExpressionResults(), the "total values" are different:

results.getResultSize(monitor).getTotal()

vs.

results.getResultSize(monitor).getTotalAvailable();


How can I get the "rest" of the results?

Thanks,
Dana

2 answers



permanent link
Patrick Streule (4.9k21) | answered Aug 11 '09, 1:35 p.m.
JAZZ DEVELOPER
edited Mar 02 '15, 12:53 p.m. by Geoffrey Clemm (30.1k33035)
1000 items is the default result set limit (configurable in the Advanced
Properies Admin Web UI).

Programatically, you can also set the limit like this:

IQueryResult<IResolvedResult<IWorkItem>> result=
fgQueryClient.getResolvedExpressionResults(fgProjectArea, term,
IWorkItem.SMALL_PROFILE);
result.setLimit(5000);

--
Regards,
Patrick
Jazz Work Item Team

Comments
Morten Mikkelsen commented Dec 08 '09, 1:56 p.m. | edited Mar 02 '15, 12:53 p.m.

Does this mean that it's configured per server but that the client may override the setting?
If so, should there be a property in the eclipse client somewhere to be found if one wanted to change it?

Thanks,
/Morten


Patrick Streule commented Dec 09 '09, 7:23 a.m. | edited Mar 02 '15, 12:54 p.m.
JAZZ DEVELOPER

It is configured per server, as it is a protective measure against
unnecessary load.

It is not configurable by users per client.

--
Regards,
Patrick
Jazz Work Item Team


permanent link
Geoffrey Clemm (30.1k33035) | answered Mar 02 '15, 12:52 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Your answer


Register or 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.