It's all about the answers!

Ask a question

Getting a reference from a work item


Jamie Witt (11) | asked Jan 27 '09, 5:07 p.m.
I'm trying to query some data from a Jazz server. I have been able to query a list of work items (stories and tasks) and get the data I need from them, but I want to be able to tell which stories are the parents for which tasks. From what I can tell I need to look up the links/references but so far I haven't found a way to do that with just an IWorkItem object to start with.

Any one have any examples or suggestions?

One answer



permanent link
Patrick Streule (4.9k21) | answered Feb 03 '09, 4:38 a.m.
JAZZ DEVELOPER
I'm trying to query some data from a Jazz server. I have been able to
query a list of work items (stories and tasks) and get the data I need
from them, but I want to be able to tell which stories are the parents
for which tasks. From what I can tell I need to look up the
links/references but so far I haven't found a way to do that with
just an IWorkItem object to start with.

Any one have any examples or suggestions?

IWorkItemCommon#resolveWorkItemReferences(IWorkItemHandle workItem,
IProgressMonitor monitor)

returns the references for a work item.

--
Regards,
Patrick
Jazz Work Item Team

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.