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

Retrieve links from a work item

How can I retrieve links from a WorkItem?
It seems that I could retrieve it from an WorkItemWorkingCopy instance using getReferences() method. But this can be obtained from an IWorkItemWorkingCopyManager that can be obtain only on Client side. So, can I retrieve something similar on service side?
And also, why do I to have a working copy if I don't want to modify the work item? There is another way?

Thanks.

0 votes



2 answers

Permanent link
Hi
On the Server, you can retrieve the IWorkItemReferences from IWorkItemServer (or IWorkItemCommon) using the 'resolveWorkItemReferences' method.

If you do not want to modify a work item on the client side, you do not have to use the workingcopy. Using the workingcopy however ensures that you get events for changes to the same workingcopy on the same client (e.g. while the workitem is edited in an editor).

Regards

Marcel
Jazz Work Item team

0 votes


Permanent link
Thank you very much for your answer. It runs correctly.

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
× 10,936

Question asked: Jul 28 '09, 8:50 a.m.

Question was seen: 5,890 times

Last updated: Jul 28 '09, 8:50 a.m.

Confirmation Cancel Confirm