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

How would I find all RTC projects and each projects Administrators using the REST API

I would like to get a list of all Administrators for each of my RTC Projects using the REST API.

0 votes



2 answers

Permanent link
After Much searching I believe I have found the answer. The below gave me a list of all the projects both Active and Archived and a list of all the Admins on each project both Active and Archived.

https://clm:9443/ccm/rpt/repository/generic?fields=generic/com.ibm.team.process.ProjectArea/(name|itemId|archived|internalAdmins/userId|internalAdmins/name|internalAdmins/emailAddress|internalAdmins/archived)&size=100000

1 vote

Comments

Oh wow! Well done! I've never thought about using the "generic" resource.


Permanent link
 As far as I know, only the OSLC API reveal this information. The URL looks like
https://clm:9443/ccm/process/project-areas/<project area itemId/UUID>/admins

You can follow the usual OSLC discovery chain starting with https://clm:9443/ccm/rootservices to find out this URL, or you can include the "itemId" attribute for "projectArea" in the REST URL that you use (mentioned in another post) and then plug its value into the above URL.

0 votes

Comments

The real issue I have is that I have overĀ 1,143 CLM Projects. I was hoping that I did not have to enter the specific project but instead get a list of the projects and then for each project get a list of the Admins on the project. I will look into the above, thanks for your assistance.

After Much searching I believe I have found the answer. The below gave me a list of all the projects both Active and Archived and a list of all the Admins on each project both Active and Archived.

https://clm:9443/ccm/rpt/repository/generic?fields=generic/com.ibm.team.process.ProjectArea/(name|itemId|archived|internalAdmins/userId|internalAdmins/name|internalAdmins/emailAddress|internalAdmins/archived)&size=100000

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
× 12,019
× 7,495

Question asked: Jun 14 '16, 3:44 p.m.

Question was seen: 3,827 times

Last updated: Jun 26 '16, 8:09 p.m.

Confirmation Cancel Confirm