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

isArchived of Timeline(DevelopmentLine) always returns false

Hi,

I was trying to retrieve the value of isArchived of Timeline using RTC API but i noticed that even when the timeline is set to archived through the web client API always returns false.

Please let me know if the code i am using to retrieve the timeline is fine. Is there any other way of retrieving the value.
IDevelopmentLineHandle[] devLines = iprojectArea.getDevelopmentLines();
IDevelopmentLine developmentLine =
                auditableClient
                    .resolveAuditable(devLines[0] , ItemProfile.DEVELOPMENT_LINE_DEFAULT, monitor);
boolean isArchived = developmentLine.isArchived();

0 votes


Accepted answer

Permanent link
Try using ITeamRepository.getItemManager.fetchCompleteItem to retrieve the line if this is code running on the Eclipse client.

Ruby
Martha (Ruby) Andrews
Jazz Foundation L3 Development Team Lead
ast java selected this answer as the correct answer

0 votes

Comments

Thank you:) using the code mentioned fixes the issue.

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
× 10,926
× 411

Question asked: Aug 07 '15, 1:49 a.m.

Question was seen: 2,594 times

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

Confirmation Cancel Confirm