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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

End of year metrics: top 5 page creators

I wanted to give our various managers some metrics to base some of their upcoming reviews on, so I wrote up this SQL query showing the top 5 page creators for each space  - others may be interested in this as well.  I'm sure there are ways of making this more efficient, but it got me what I needed.


With allpages as (
join SPACES s on s.SPACEID=c.SPACEID and left(s.SPACEKEY,1)<>'~'
left join user_mapping u on u.user_key=c.CREATOR
left join cwd_user AS cu ON cu.lower_user_name = u.lower_username
where c.[CREATIONDATE]>'2020-01-01 01:01:05.000'
, spacepages as (
Select display_name
,count(CONTENTID) as numpages
from allpages
group by display_name, email_address,SPACENAME

Select * from (
Select display_name
,row_number() over (partition by SPACENAME order by numpages desc) as spacerank
from spacepages) ranks
where spacerank <=5;




Log in or Sign up to comment
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

113 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you