It's all about the answers!

Ask a question

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

Daniel Reilly (1431520) | asked Apr 27 '15, 10:48 p.m.
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?

One answer

permanent link
Dinesh Kumar B (4.1k413) | answered Apr 27 '15, 11:47 p.m.
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.

Ralph Schoon commented Apr 28 '15, 2:44 a.m.

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.