Forums

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

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

Brett Creech September 5, 2013

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 votes
Brett Creech September 15, 2013

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

0 votes
Mirek
Community Champion
September 9, 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

Brett Creech September 9, 2013

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

Thanks!

Mirek
Community Champion
September 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

Brett Creech September 15, 2013

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events