Creator in Confluence DB

Hello , I am trying get a list of users who have created spaces but looking at the Spaces Table how can i ascertain the Creator's name as its held as a ref rather than a name.

Thanks

John

2 answers

1 accepted

Look at user_mapping (has user_key and username) table and then cwd_user table (has other user details, by username)

When you go to the space directory, can you click on the i to get the space details including the creator? You may have to create a macro, this one will list all the space admins and the query could be adjusted to show the space creator instead: https://confluence.atlassian.com/confkb/how-do-i-view-a-list-of-all-space-administrators-for-all-spaces-346325879.html

Sorry , what i mean is I am using the sql query below  to query against the table but the creator shows up as 

8ab0814e4c9d2ba9014c9d300af8003d rather than the name. How can i get the name?

 

select s.SPACENAME, c.TITLE, c.LASTMODDATE, s.CREATOR from CONTENT c

join SPACES s on s.SPACEID = c.SPACEID

where CONTENTTYPE = 'PAGE'

and PREVVER is NULL

and c.LASTMODDATE < '20160101'

 

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 ...

670 views 21 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