It's all about the answers!

Ask a question

How can I programmatically get the Team Area Hierarchy?


David Rocks (3113) | asked Sep 14 '12, 5:13 p.m.
edited Sep 14 '12, 5:18 p.m.
I am using the RTC 3.x api.  I know I can use
ListIterator teams = projectArea.getTeamAreas().listIterator(); to get the Teams, but it does not maintain the hierarchy as far as I can tell.  There is no way to differentiate a team from a sub-team.  Please help.  Thank you.

Accepted answer


permanent link
sam detweiler (12.5k6195201) | answered Sep 16 '12, 7:14 a.m.
projectArea.getTeamAreaHierarchy()
ITeamAreaHierarchy getTeamAreaHierarchy()
Returns the team area hierarchy that defines the relationship between the team areas located inside in this project area.

Returns:
the team area hierarchy
this is listed in the javadoc
David Rocks selected this answer as the correct answer

Comments
David Rocks commented Sep 17 '12, 12:02 p.m.

Thank you for the assistance.

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.