What is the equivalent in 6.0.2 of IWorkItemClient.findWorkItemById
![]()
In all of the examples that I find for getting a work item, they talk about do something like the following code:
IWorkItem workItem = workItemClient.findWorkItemById(String.valueOf(i),IWorkItem.FULL_PROFILE, myProgressMonitor);
Thanks,
Eric |
Accepted answer
![]()
Ralph Schoon (61.8k●3●36●43)
| answered Jun 20 '16, 1:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jun 28 '16, 2:46 a.m.
The method is and always has been
com.ibm.team.workitem.common.IWorkItemCommon.findWorkItemById(int, ItemProfile<IWorkItem>, IProgressMonitor) com.ibm.team.workitem.client.IWorkItemClient is still available and inherits the IWorkItemCommon interface and thus has this method as well. Eric Nelson selected this answer as the correct answer
|