Programmatically unarchive Project Areas and remove users.
Liney Reis (1●4●10)
| asked Nov 16 '16, 1:51 p.m.
edited Nov 17 '16, 3:35 a.m. by Ralph Schoon (63.4k●3●36●46)
Hello,
IBM has advised us to unarchive all archived project areas before migrate CML from version 5 to 6.02. Once we´ve got more than 1200 archived PAs, it it possible to programmatically unarchive then? Is there a way to programmatically remove all the members of these PAs? |
2 answers
Ralph Schoon (63.4k●3●36●46)
| answered Nov 17 '16, 3:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Yes, you can programmatically remove the users as far as I can tell. https://rsjazz.wordpress.com/2013/09/18/deploying-templates-and-creating-projects-using-the-plain-java-clients-library/ shows how to add users, so removing should work very similar as well. I would try without unarchiving the project areas first. The blog has more API examples.
https://rsjazz.wordpress.com/2013/01/08/maintaing-user-photos-with-the-plain-java-client-libraries/ and https://rsjazz.wordpress.com/2012/10/12/changing-the-jazz-user-id-using-the-rtc-plain-java-client-libraries/ show examples for the contributor/user API.
|
|
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.