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

Work Item query with > 1000 results

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

0 votes



2 answers

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

0 votes

Comments

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

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
The limitation on 1000 work items in an HTTP query is being removed in 6.0 ( Remove the limit on OSLC 1.0 query results and ignore the “Maximum Query Result Set Size” limit for calls from QP (336705) ).

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

Question asked: Aug 11 '09, 3:21 a.m.

Question was seen: 5,695 times

Last updated: Mar 02 '15, 12:54 p.m.

Confirmation Cancel Confirm