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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

64 views 0 5
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