It's all about the answers!

Ask a question

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


michael white (1634) | asked Aug 23 '10, 3:01 a.m.
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 ???

One answer



permanent link
Jared Camilli (112) | answered Jun 19 '12, 2:07 p.m.
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); 

Your answer


Register or 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.