It's all about the answers!

Ask a question

Project Team Area programatically


Rachid Halloul (144) | asked Sep 26 '12, 12:37 p.m.
How do you get the project team area programatically ?

3 answers



permanent link
DJ Houghton (2663) | answered Sep 26 '12, 1:11 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
I've never done it before but I would look in and around com.ibm.team.process.client.IProcessItemService#findTeamAreas.

Comments
Rachid Halloul commented Sep 26 '12, 1:16 p.m.

I have the ProjectAreaHandle, I thought it will be a method like getTeamArea() to get the team area from the project.


permanent link
David Olsen (5237) | answered Sep 26 '12, 2:04 p.m.
JAZZ DEVELOPER
What do you mean by "the project team area"?  A project area can contain any number of team areas.  No one team area has any special meaning.

If you just want to treat the project area like a team area, you don't have to do anything.  The behavior that is common to project areas and team areas is in the interface IProcessArea.  IProjectArea extends IProcessArea, so you can just treat the project area like a process area without casting or calling a method.

permanent link
Rachid Halloul (144) | answered Sep 26 '12, 2:07 p.m.
I want to be able to get all the team in a project and then be able to set the plan owner to a team area
something like  plan.setOwner (teamArea).

Your answer


Register or to post your answer.