It's all about the answers!

Ask a question

Programmatically unarchive Project Areas and remove users.


Liney Reis (149) | asked Nov 16 '16, 1:51 p.m.
edited Nov 17 '16, 3:35 a.m. by Ralph Schoon (63.1k33646)
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



permanent link
Ralph Schoon (63.1k33646) | 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.

permanent link
Stephanie Bagot (2.1k1513) | answered Jun 15 '17, 3:33 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

@Liney Reis why were you given that recommendation? I don't see this documented as a known issue

Your answer


Register or 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.