Add process roles to user programmatically
Hi,
Is it possible to add process roles to a list of users using Java or the API? Has anybody done anything similar? We currently maintain a lot of project areas with users connected to several jazz user groups and need a way to automatically add users than adding one at a time. Many thanks, Naweed |
Accepted answer
RolePersistence.setPersistedRoleData(ITeamArea.getTeamData(), contributor, roledata);
roledata is a string of the role ID's. and see Ralph's blog http://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/ Naweed Jaulim selected this answer as the correct answer
|
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.
Comments
Yes. Pretty easily. I am not near my system today but can post some info tomorrow.
Hi Sam,
This is great news - we got the license part working so far(we are using a perl script with repotools for this.
Anything you can share is much appreciated(process roles and mapping) -;)
Regards,
Naweed