Getting URL out of WorkItemHandles, Using Synegy/RTC Bridge Plugin
2 answers
Hi Ken,
I am not sure if you can get it from the handle. I was able to create a location the way below and used the toAbsoluteURI to link the item using a CLM link.
I needed an IItem for it. Location has other methods, so.......
I am not sure if you can get it from the handle. I was able to create a location the way below and used the toAbsoluteURI to link the item using a CLM link.
Location location = Location.itemLocation(targetWorkItem,this.getPublicRepositoryURL()); location.toAbsoluteUri()
I needed an IItem for it. Location has other methods, so.......
Hi Ralph,
I have added the below piece of code (which pops up a window through which user can either select an existing work item or create a new work item & the details are retrieved in the 'workItemHandles' array. How to retrieve the details of the work item (specially the URI)?
IWorkItemHandle[] workItemHandles =
WorkItemSelectionDialog.getWorkItems(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell());
Thanks
Guru
I have added the below piece of code (which pops up a window through which user can either select an existing work item or create a new work item & the details are retrieved in the 'workItemHandles' array. How to retrieve the details of the work item (specially the URI)?
IWorkItemHandle[] workItemHandles =
WorkItemSelectionDialog.getWorkItems(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell());
Thanks
Guru