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
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

32 views 2 1
Join discussion

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