How do you open workitem if you have the ID
Charbel Abou-Khalil (16●1●3)
| asked Oct 15 '12, 4:45 p.m.
edited Oct 19 '12, 3:08 a.m. by Ralph Schoon (63.5k●3●36●46) Hi,
I am just wondering if there is a method to open the workitem editor using the api if you have the worktiem id. This is for RTC 3.0. Thanks a lot.
Regards
Charbel |
Accepted answer
HI , Thanks for your response, here is the code that worked for me: IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); IWorkItem workItem = workItemClient.findWorkItemById(Integer.valueOf(split[i]), IWorkItem.FULL_PROFILE, null); WorkItemUI.openEditor(page, workItem); Regards Charbel Ralph Schoon selected this answer as the correct answer
|
2 other answers
Ralph Schoon (63.5k●3●36●46)
| answered Oct 16 '12, 12:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi, you can find example code here: http://rsjazz.wordpress.com/2012/08/01/uploading-attachments-to-work-items/
|
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.