can we get component names and stateid by giving UUID?
Hello All,
I'm getting only UUID by using this code: List<IWorkspaceHandle> findWorkspaces1 = workspaceManager.findWorkspaces(cri1, Integer.MAX_VALUE, monitor); IWorkspaceHandle workspaceHandle3 = findWorkspaces1.get(0); IScmService scmService = (IScmService) ((IClientLibraryContext) teamRepository).getServiceInterface(IScmService.class); IComponentHandle[] components = scmService.getComponentsForWorkspace(workspaceHandle3, null); How to get component name and StateID by giving UUID as input? Kindly help me out. Thanks in advance. |
Accepted answer
Ralph Schoon (63.3k●3●36●46)
| answered Jul 31 '15, 7:03 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Try https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ search for UUID. You can get an Item Handle from a UUID as described there if you know the Item Type. E.g.
IItemHandle handle = [itemtype].ITEM_TYPE.createItemHandle(UUID.valueOf(uuid_string), null); Surya Raj selected this answer as the correct answer
|
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.