Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,254
Community Members
 
Community Events
176
Community Groups

Getting Space Owners and Email Addresses

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 comments

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events