isArchived of Timeline(DevelopmentLine) always returns false
![]()
ast java (45●9●44)
| asked Aug 07 '15, 1:49 a.m.
edited Aug 07 '15, 2:48 a.m. by Ralph Schoon (62.0k●3●36●43)
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
|