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

How do I get the "Planned for" attribute from a Wo

How do I get the "Planned for" attribute from a WorkItem ?
Plus: I also wanna get the "create date" and "deadline" from plan.

Should I use IWorkItem or WorkItemImpl or sth else ???

0 votes



One answer

Permanent link
For Planned For, this is working for me: 

repository = TeamPlatform.getTeamRepositoryService().getTeamRepository(uri);
IItemManager itm = repository.itemManager(); 
IIteration contributor = (IIteration) itm.fetchCompleteItem(origWorkItem.getTarget(), IItemManager.DEFAULT, null); 

0 votes

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,943

Question asked: Aug 23 '10, 3:01 a.m.

Question was seen: 4,969 times

Last updated: Jun 19 '12, 2:07 p.m.

Confirmation Cancel Confirm