It's all about the answers!

Ask a question

RTC API IIteration.getIterationType always returns null


ast java (4511847) | asked Aug 07 '15, 2:00 a.m.
edited Aug 07 '15, 2:48 a.m. by Ralph Schoon (63.1k33646)
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



permanent link
ast java (4511847) | answered Aug 10 '15, 1:11 a.m.
using repo.itemManager().fetchCompleteItem
instead of auditableClient.resolveAuditable fixes the issue

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.