Working with handles
How can i get the originating full object from handles like IProjectAreaHandle, IContributorHandle, IWorkItemHandle.
|
One answer
The object can be fetched using the handle with
IRepositoryItemService on the server and ItemManager from the client side. Here are some of the examples and tutorials: - https://jazz.net/learn/LearnItem.jsp?href=content/docs/client-library-programming/index.html - https://jazz.net/wiki/bin/view/Main/ComponentDevelopment - https://jazz.net/wiki/bin/view/Main/JazzTalkWalkthrough <snip> ... from https://jazz.net/wiki/bin/view/Main/JazzTalkWalkthrough IRepositoryItemService repositoryItemService = getService(IRepositoryItemService.class); IItem[] items = repositoryItemService.fetchItems(itemQueryPage.handlesAsArray(), null); </snip> Dan Kogan How can i get the originating full object from handles like IProjectAreaHandle, IContributorHandle, IWorkItemHandle. |
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.