Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.  

0 votes



5 answers

Permanent link
The following syntax will list out all of the project areas and members of that PA.  

 https://<SERVER>:<PORT>/ccm/rpt/repository/foundation?fields=foundation/projectArea/(name|teamMembers/userId)

The output will look like:


2 votes

Comments

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. 


Permanent link
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?

0 votes


Permanent link
Check the documentation for the Team Process REST API:
https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi

0 votes


Permanent link
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)

0 votes

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)


Permanent link
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 481

Question asked: May 20 '13, 3:21 p.m.

Question was seen: 9,706 times

Last updated: Apr 04 '14, 4:26 p.m.

Confirmation Cancel Confirm