How to get "Planned For" value of a work item.
I need help in getting "Planned For" value of work Item. I see there is function getTarget() which returns IIterationHandle but then how get string value of what is currently set. |
Accepted answer
Ralph Schoon (63.4k●3●36●46)
| answered Nov 12 '19, 3:40 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Nov 12 '19, 3:41 a.m. See you need to resolve the handle.
Ralph Schoon selected this answer as the correct answer
Comments Still not able to find the solution, if someone provide more details hoe to get "Planned For" attribute value in string. In the client API see https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ section RESOLVING ITEM HANDLES
To see how to resolve item handles in the client API.
|
One other answer
Thanks all, finally worked. Here is my code. IIterationHandle targetHandle = workItem.getTarget(); IIteration iIteration = (IIteration) teamRepository.itemManager().fetchCompleteItem(targetHandle, IItemManager.DEFAULT ,monitor); String targetValue = iIteration.getId(); System.out.println("Target Release ID=" + targetValue );
|
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.