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

How can I create TeamAreas programmatically?

From a Java Client, I would like to create TeamAreas programmatically.

I would like to mirror the existing WorkItem Categories, which I have already created, and for each existing Category (also nested) create a TeamArea with same name and then associate it with that same Category.

1. Is this the right way?

IProcessItemService service = (IProcessItemService)teamRepository.getClientLibrary(IProcessItemService.class);
ITeamArea ita =service.createTeamArea();

2. What is the meaning of the two ITeamAreaHandle parameters of the call:

projectArea.getTeamAreaHierarchy().addChild(arg0, arg1);

and how would I get hold of them?

Thank you, Lara

0 votes



One answer

Permanent link
From a Java Client, I would like to create TeamAreas programmatically.

I would like to mirror the existing WorkItem Categories, which I have already created, and for each existing Category (also nested) create a TeamArea with same name and then associate it with that same Category.

1. Is this the right way?

IProcessItemService service = (IProcessItemService)teamRepository.getClientLibrary(IProcessItemService.class);
ITeamArea ita =service.createTeamArea();

2. What is the meaning of the two ITeamAreaHandle parameters of the call:

projectArea.getTeamAreaHierarchy().addChild(arg0, arg1);

and how would I get hold of them?

Thank you, Lara


Hi,

1. Yes it is the right way.

2. The first argument is the parent team area to which the newly created team area, passed in the second argument, will be added as a child.

Thanks,
Sridevi
Jazz Process Team

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

Question asked: Jun 08 '10, 6:38 a.m.

Question was seen: 4,600 times

Last updated: Jun 08 '10, 6:38 a.m.

Confirmation Cancel Confirm