Project Team Area programatically
How do you get the project team area programatically ?
|
3 answers
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. |
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.
|
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
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.