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

How do you retrieve resolved work items with the RTC API query facility?

I have set up a query with the API and would like to retrieve resolved work items, as well as, unresolved work items.  The facility I'm using is:

IQueryResult<IResolvedResult<IWorkItem>> queryResult = queryClient.getResolvedExpressionResults(projectAreaHandle,andExpressionTerm,IWorkItem.SMALL_PROFILE);

I'm only getting unresolved work items back.  How do I get resolved?

0 votes



One answer

Permanent link
hi Daniel,

I would review the "andExpressionTerm" to see if its not including some expression to count the resolved work items out..

I use getResolvedExpressionResults with expression and find it listing the resolved work items as well.  only difference in my usage is the profile.  I use FULL_PROFILE but I assume that would be needed if some attributes weren't available in SMALL_PROFILE

hope this helps.

0 votes

Comments

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,954

Question asked: Apr 27 '15, 10:48 p.m.

Question was seen: 2,841 times

Last updated: Apr 28 '15, 2:44 a.m.

Confirmation Cancel Confirm