how to get "Team Area Hierarchy" via REST API?
![](http://jazz.net/_images/myphoto/5a822aa87cdd90173c2f25fdcc633f63.jpg)
Accepted answer
![](http://jazz.net/_images/myphoto/5a822aa87cdd90173c2f25fdcc633f63.jpg)
https://<server>/ccm/rpt/repository/foundation?fields=foundation/teamArea/*
This will give you everything including team members, roles, etc. and will do it for all project areas so you may want to filter this by project area:
https://<server>ccm/rpt/repository/foundation?fields=foundation/teamArea[projectArea/name ="<your project>"]/(*)
If you pull this request down you will see how you can get the fully qualified hierarchical name, the parent Team Area, etc