Retrieving IContributorHandle using Contributor attributes
![]()
Contributor item attributes (values) would be coming from UI and using any of those values, I need to get the IContributorHandle of that Contributor at the service end. Which attribute could be used for this purpose and what is the relevant api function to get the handle?
|
One answer
![]()
itemId is a good choice and one can use that like the following to get the contributor handle
IContributorHandle contributorHandle = (IContributorHandle) IContributor.ITEM_TYPE .createItemHandle(UUID.valueOf(params.itemId), null);//itemId is a string here passed from UI |
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.