how to add users and roles to Team Area using Plain Java API ?
How can we add list of users to Team Area using Java API ? Users already exists in the repository. It just that I need to add them in Team Area and assign roles.
|
2 answers
Ralph Schoon (63.5k●3●36●46)
| answered Jun 10 '13, 11:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Here is code to find process area (team/project) areas etc: https://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/
If you have the process area, here is the API to add a contributor: processArea.addMember(contributorHandle) https://rsjazz.wordpress.com has other posts that describe how to get to the contributor handle from the ID. |
Hey Ralph, as near as I have been able to find adding a contributor to a Role in a Project Area cannot be done with the plain java api for 3.0.1 correct? And is the same true for setting the license also?
Comments As adding members and setting roles for members in a project/team area is shown in the samples that ship with the Plain Java Client Libraries and I show it here too: https://rsjazz.wordpress.com/2013/09/18/deploying-templates-and-creating-projects-using-the-plain-java-clients-library/ this is a false assessment.
|
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
Please help with the answer.