How to get a list of newly added users with their email.

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Sometimes for reporting purposes, you may need to know what were the recently created users in Confluence.

For this, you can use the example provided below to extract that information from Confluence Database.

This document is provided as-is, what means that Atlassian Support won't provide assistance on modifying this example to fit your use case.

See Atlassian Support Offerings for additional information.

Environment

7.x, 8.x

Solution

In the example below the query will return the users that were created in the last 24 hours, their email addresses, and the creation time. You will require access to run queries on the Confluence database to extract these values.

ℹ️ It's possible to change the interval to extract different time intervals.

Postgres:

1 select distinct user_name,email_address,created_date from cwd_user where created_date > current_timestamp - interval '1 day';

SQL SERVER:

1 2 3 SELECT DISTINCT user_name, email_address, created_date FROM cwd_user WHERE created_date > DATEADD(day, -1, GETDATE());
Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.