The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Assign Permission/Notification scheme to multiple projects

Thomas Hardin
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
January 2, 2019

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

Narendra Kumar
Contributor
February 6, 2020

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

TAGS
AUG Leaders

Atlassian Community Events