It's all about the answers!

Ask a question

how to get "Team Area Hierarchy" via REST API?


Amol Wangate (158) | asked Jul 11 '19, 11:24 a.m.

I'm trying to get all Team Area Hierarchy details like - name, summary, description.. etc etc And I want to get all that info using REST API

Accepted answer


permanent link
Davyd Norris (2.2k217) | answered Jul 11 '19, 6:51 p.m.
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
Amol Wangate selected this answer as the correct answer

Comments
Amol Wangate commented Jul 12 '19, 8:40 a.m.

exaclty what I'm looking for. Thank a lot, Davyd!

One other answer



permanent link
Kevin Ramer (4.5k8183200) | answered Jul 11 '19, 4:25 p.m.
I don't think there's a REST sort of thing, but you might want to root into the "jp06:projectAreas" of the given repository's /rootservices document.

A REST browser plugin will help with that.

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.