Getting Space Owners and Email Addresses

Victor Prasad November 2, 2021

Hello,

 

How can I get a list of Space Owners AND their email addresses?

With help from the Community I was able to to get a list of Space owners in our instance of Confluence:

(MS SQL)

SELECT s.SPACEKEY, s.SPACENAME, c.user_name, c.display_name FROM SPACES s
JOIN SPACEPERMISSIONS p ON s.SPACEID = p.SPACEID
JOIN user_mapping u ON p.PERMUSERNAME = u.user_key
JOIN cwd_user c ON u.username = c.user_name
WHERE p.PERMTYPE = 'SETSPACEPERMISSIONS'
AND s.SPACETYPE like 'global'
order by s.SPACEKEY;

I found a table called dbo.users - which has an email column.  But it is EMPTY!

 

We use Kantega SSO to sync our Ldap to Confluence.

 

Suggestions on how to get that list of Space Owners AND their email addresses in one lovely spreadsheet?

 

Thanks!

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events