It's all about the answers!

Ask a question

Retrieving archived projects


m sawires (1462268) | asked Feb 24 '10, 12:04 p.m.
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



permanent link
Qiong Feng Huang (76911610) | answered Feb 24 '10, 9:41 p.m.
JAZZ DEVELOPER
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.

permanent link
m sawires (1462268) | answered Feb 26 '10, 12:39 p.m.
Thank you

Your answer


Register or 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.