Retrieving archived projects
![]()
Hi,
How can I retrieve archived ProjectArea programmatically and also how can I check if an existing ProjectArea is archived or not? I don't see any properties for that. Thanks |
2 answers
![]()
You can IProcessItemService to get all project areas including archived
ones. And then use "isArchived()" method to find the archived project areas. The following is the sample code: ITeamRepository teamRepository = YOUR_TEAM_REPOSITORY_CONNECTION IProcessItemService service = (IProcessItemService) teamRepository.getClientLibrary(IProcessItemService.class); List projectAreaList = service.findAllProjectAreas(IProcessClientService.ALL_PROPERTIES, monitor); // for each project area, use isArchived() to check whether this is an archived project area or not. |
|
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.