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

RTC API IIteration.getIterationType always returns null

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.

0 votes



One answer

Permanent link
using repo.itemManager().fetchCompleteItem
instead of auditableClient.resolveAuditable fixes the issue

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
× 11,079
× 419

Question asked: Aug 07 '15, 2:00 a.m.

Question was seen: 5,741 times

Last updated: Aug 10 '15, 1:11 a.m.

Confirmation Cancel Confirm