isArchived of Timeline(DevelopmentLine) always returns false
ast java (45●1●20●49)
| asked Aug 07 '15, 1:49 a.m.
edited Aug 07 '15, 2:48 a.m. by Ralph Schoon (63.5k●3●36●46)
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(); |
Accepted answer
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
Comments
ast java
commented Aug 10 '15, 1:10 a.m.
Thank you:) using the code mentioned 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.