RTC API IIteration.getIterationType always returns null
ast java (45●1●20●49)
| asked Aug 07 '15, 2:00 a.m.
edited Aug 07 '15, 2:48 a.m. by Ralph Schoon (63.7k●3●36●48)
Hi,
I had created a iteration type and set the iteration type to the Iteration through web client. When i try retrieving the same from RTC API it returns null. How to get the IterationType of an iteration. Please let me know if the code i am using is correct. IIterationHandle[] iterations = developmentLine.getIterations(); IIteration iteration = auditableClient.resolveAuditable(iterations[0] , ItemProfile.ITERATION_DEFAULT, monitor); IIterationTypeHandle iterationTypehandel = iteration.getIterationType(); iterationTypehandel is always null even when iterationtype is set. |
One answer
using repo.itemManager().fetchCompleteItem
instead of auditableClient.resolveAuditable fixes the issue |
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.