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

Autimate Exporting user from RTC Project area with roles

Hi,


Is it possible to automate/export users from project areas with roles.

At present, using "Using Generate Run Time report" able to export the users.


0 votes



7 answers

Permanent link
I believe you will need to create an app using the java or rest api to automate this process


0 votes


Permanent link
Hi Abraham,


I am not able to access the link https://:/jazz/process/project-areas//roles

Please provide me instructions for the same.


Regards,
Dhruva

0 votes


Permanent link
Here is the the relavent data from that forum post:

The best way to retrieve roles is that using process rest service, you don't need to search users, but just provide the project area or team area item id.

Here are some samples to get roles
from a project area:
https://:/jazz/process/project-areas//roles

from a team area:
https://:/jazz/process/project-areas//team-areas//roles




0 votes

Comments

HI @asweiss,


I used this for retrieving the roles assigned to a particular user:


If I want to retrieve for every user in the project area, how should I change the url? 

Thanks.


Permanent link
Here is another forum post which may be helpful
https://jazz.net/forum/questions/108771/get-user-project-area-and-role-access-using-plain-java-api-rtc

0 votes


Permanent link
Hi ,

I will right click on RTC project area-> Genearet run time report, this will give all members with user id and role.


Is it possible to automate the above process.

0 votes


Permanent link
If you use the following rest call, you will get the list of members in the project area
https://localhost:9443/ccm/service/com.ibm.team.process.internal.service.web.IProcessWebUIService/projectAreaByUUIDWithLimitedMembers?processAreaItemId=_Ku7esLtYEeKH-7l1udLOzQ

_Ku7esLtYEeKH-7l1udLOzQ  is the itemID for the JUnit project in my test bed,  The output will look like:

and as noted above, if the goal is to automate the "Generate Run TIme report", you will need to create a custom application using either the java api or rest api.

0 votes


Permanent link
Hi,

Thank you, I am able to export the users to csv file.

Is it possible to export authorities for each users.


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
× 12,024

Question asked: Aug 12 '13, 4:48 a.m.

Question was seen: 7,237 times

Last updated: Aug 27 '13, 7:16 a.m.

Confirmation Cancel Confirm