How to find the total number of users synchronized between LDAP and Jira

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

Purpose

When investigating problems with user management, including slow directory sync, it can be useful to find the total number of users synchronized between LDAP and Jira.

Solution

Use the following queries to check the total number of users synchronized between LDAP and Jira. 

PostgreSQL, MySQL, Oracle
SELECT DISTINCT count(lower_email_address) 
AS user_count
FROM cwd_user; 
Microsoft SQL Server
SELECT DISTINCT count(lower_email_address) 
FROM [jiraschema].cwd_user; 





Last modified on Jan 24, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.