How can I get a list of all project areas and team members using REST?
5 answers
The following syntax will list out all of the project areas and members of that PA.
The output will look like:
My motive is to get the list of all members of a project area with their process roles. I tried the below format but not able to pull the RoleAssignment details even though it is mentioned as an element under ProjectArea in the REST API
https://<server>:<port>/ccm/rpt/repository/foundation?fields=foundation/projectArea/(name|teamMembers/name|roleAssignments/contributorRoles)
https://<server>:<port>/ccm/rpt/repository/foundation?fields=foundation/projectArea/(name|teamMembers/name|roleAssignments/contributorRoles)
Comments
I think you just need to add /id after contributorRoles. That seems to work for me.
https://clmweb.ibm.com:9443/ccm/rpt/repository/foundation?fields=foundation/projectArea/(name|teamMembers/name|roleAssignments/contributorRoles/id)