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

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

0 votes



2 answers

Permanent link
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.

0 votes


Permanent link
Thank you

0 votes

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,938

Question asked: Feb 24 '10, 12:04 p.m.

Question was seen: 5,824 times

Last updated: Feb 24 '10, 12:04 p.m.

Confirmation Cancel Confirm