It's all about the answers!

Ask a question

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


Amol Wangate (152) | asked Jul 11, 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 (4114) | answered Jul 11, 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, 8:40 a.m.

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

One other answer



permanent link
Kevin Ramer (4.3k6156172) | answered Jul 11, 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.