Assign Permission/Notification scheme to multiple projects

Thomas Hardin January 2, 2019

I need to update multiple projects (over 100) with different Permission and Notification schemes, but need some help with the best approach, please. 

Does anyone have a good example of an API that would help? My initial thoughts are to use an update project API - PUT /rest/api/2/project/{projectIdOrKey} with:

{"key": "ABC",

"permissionScheme": 10000,

"notificationScheme":10000,

},

{"key": "XYZ",

"permissionScheme": 10000,

"notificationScheme":10000,

},

etc

 

I'm not sure if this is correct though as it needs the id or key in the URL. Any help is greatly appreciated. 

 

Thank you.

1 answer

1 vote
Marc Minten _EVS_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 2, 2019

You'll have to launch a REST call for every project to be changed!

Narendra Kumar February 6, 2020

Hi @Marc Minten _EVS_  any demo REST call code that can be helpful here ? Thanks!

Suggest an answer

Log in or Sign up to answer