How to check for users who never logged into Jira

Still need help?

The Atlassian Community is here for you.

Ask the community


There are times when the Jira administration would like to see the users that never logged to the application for administrative purposes.


In order to see the users who never logged into Jira, run the following query:

This was tested with PostgreSQL and Jira 7.6.0. Other databases may slightly differ the syntax.

select user_name from cwd_user where user_name not in 
(SELECT cwd_user.user_name
FROM cwd_user, cwd_user_attributes
WHERE cwd_user_attributes.user_id =
AND cwd_user_attributes.attribute_name = 'lastAuthenticated');

Last modified on Nov 29, 2017

Was this helpful?

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