Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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);
	
	

As far as I can tell this method no longer exists. What is the equivalent replacement method or methods?

Thanks,
Eric

0 votes


Accepted answer

Permanent link
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

0 votes

Comments

In my early examples I was too ignorant to understand the difference 8)

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,927

Question asked: Jun 17 '16, 4:32 p.m.

Question was seen: 1,611 times

Last updated: Jun 28 '16, 2:46 a.m.

Confirmation Cancel Confirm