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
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).

permanent link
David Olsen (5237) | answered Sep 26 '12, 2:04 p.m.
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
DJ Houghton (2663) | answered Sep 26 '12, 1:11 p.m.
I've never done it before but I would look in and around

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.

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.