A groovy script to get space administrators for a space

How can I get a list of space administrators for a space using groovy script because in some of my spaces I have more than one space administrators?

E.g the below is the expected output from the script:

Space:Test

Space administrators:Ian

1 answer

0 votes
Claudio Ombrella Community Champion Jan 24, 2018

This is functionality that is already provided in the UI for Confluence. Do you need this for displaying purposes or to process something with the admin names. 

If it is for the first then this URL will help you:

https://<confluence-server-name>/spaces/viewspacesummary.action?key=<SPACE>

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 2 hours ago in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

36 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you