How can I get a list of all project areas and team members using REST?
For auditing purposes I would like to get a list of all project areas for my ccm instance and a list of users who are members of the PA.
|
5 answers
The following syntax will list out all of the project areas and members of that PA.
The output will look like: Comments
Ankit Vashistha
commented Apr 04 '14, 5:37 a.m.
In my Case i am not getting the list as per the structure shown above.
In Fact it doesn't gave any data output to me related to the project team and there userid's.
|
Along with team member User ID how to get User name and also process roles? Also the above said will give only information from project area, how to get that of team area as well?
|
Check the documentation for the Team Process REST API:
https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi |
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) Comments
Benjamin Silverman
commented Apr 04 '14, 4:26 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I think you just need to add /id after contributorRoles. That seems to work for me.
|
What version of RTC are you using? I see results using roleAssignments in a query against 4.0.6, but like you get an error against 4.0.3.
|
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.