Forums

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

How to assign space admin rights to multiple Confluence sites at once

Matt McGinnis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 27, 2021

Is it possible to assign a user to be the site admin over multiple Confluence sites at once?   We have hundreds of sites and I need to assign 3 users to be site admins over 65 of those sites.  It will be painful to do one at a time.

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 7, 2021

Hi Matt,

I see you've opened a support case with this request. The engineer answering your question mentioned that there's not a way to do this in bulk in Confluence's interface right now. They mentioned that you could add those users to a group that had space admin permission on those spaces, if you already had such a group set up. Adding one group with space admin permission and adding the 3 users to the group afterwards would take less effort than manually adding the 3 users to all 65 spaces.

As an extra note, you could utilize Confluence's REST API to modify the space permissions. In Postman for example, you could construct a POST that listed the groups or users you wanted to add space permissions for. The REST API call would then be the same for all 65 spaces - you'd just update the POST URL to match the URL of the space you wanted to modify. The documentation for the REST API endpoint for adding space permissions is here. The endpoint looks like this:

POST /wiki/rest/api/space/{spaceKey}/permission

That might help speed things along when adding the permissions to multiple spaces. Even if you don't write a script to iterate through all 65 spaces, just updating the spacekey in the URL for a POST message would be faster than going through the interface to add the permissions to each space.

Cheers,
Daniel 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events