Need ideas for an Oracle SQL query to find all Space Administrators

Hello,

I asked a question several days ago looking for help with finding all of our space administrators, and I thank those who responded. We have tried a user macro to try to generate a list of all space administrators, but we have 50,000+ users and about 180 spaces. Our best bet (with minimal pain/stress on our system) is likely an SQL query.

We are using an Oracle database for our Confluence installation. Unfortunately, some of the SQL queries we have found or that have been provided to us will not work with our database.

Has anyone ever written an SQL query to create a list of space administrators for an Oracle database?

Thanks,

Brett Creech
Purdue University

2 answers

0 vote
Mirek Community Champion Sep 09, 2013

Hi Brett,

Take a look at my user macro solution to list all spaces and administrators.

https://answers.atlassian.com/questions/111002/confluence-identifying-all-the-space-administrators?page=1#153040

I am using this on a instance that have around 200 spaces and it is working fine for me.

I hope that will help.

Best Regards,

Mirek

Hi Mirek, just to verify this macro will return a list of all spaces and the space administrators?

Thanks!

Mirek Community Champion Sep 10, 2013

Yes (but only global spaces not personal). In addition I have used expand macro to make view as a list and then if you want you can show only admins from specific space.

I hope you will like it

Best Regards,

Mirek

Mirek, unfortunately it didn't work for us. The macro did indeed return a list of all spaces, but it didn't return the space admins.

Mirek, unfortunately the macro didn't return the list of space administrators - it did return each space but no administrators.

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
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

915 views 23 12
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