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. |
2 answers
![]()
Thank you very much for your answer. It runs correctly.
|
![]()
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 |