Hi all,
I currently have a requirement to write a script that can update space permissions In bulk.
Specifically I would like to update the space permissions for all or most of my spaces with a number of groups.
For example, I would like to add group A, B, C, with permissions to a large number of spaces.
Has anyone achieved this with Scriptrunner for Confluence Cloud?
Thanks...Stephen
Hi @Stephen ,
you can write a script that use the following confluence rest api (https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions/#api-wiki-rest-api-space-spacekey-permission-post).
Another possible solution is to try https://marketplace.atlassian.com/apps/284/confluence-command-line-interface-cli?tab=overview&hosting=cloud that should allow you to implement that script.
Hope this helps,
Fabio
Hi @Fabio Racobaldo _Herzum_ , thank you for your reply. I have Scriptrunner for Confluence Cloud installed and am looking to run a script from there.
I was wondering whether anyone had any example Scriptrunner cloud scripts they have used in the past for similar requirements.
Thanks,
Stephen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.