Deteremine Active Users

We are trying to determine all our Active Jira and Confluence users. It would be nice if we could filter users on Login Details and/or export the results to Excel. This would simplify managing our users, until that is an option I was wondering how are others determining Active/Inactive users?

3 answers

1 accepted

3 votes
Accepted answer

Hi Bruce,

You can run the query below in your Confluence database to list all the active user in Confluence.

o.list_index,, as DirectoryID,
d.directory_type, as UserID,
cwd_user u
JOIN cwd_directory d
u.directory_id =
JOIN cwd_app_dir_mapping o

For the sql query to list all the active user in JIRA, you can follow this KB

Hope this helps.

Jing Hwa

Our Jira (4.2.3) instance does not have the cwd_user table and in Confluence (3.4.9) it is an empty table.

Thanks for your help!

Hi Bruce,

Sorry, I din't know that you're using Confluence 3.4. You should run this two query to find the internal/external user with the group associations for Confluence.

select, g.groupname from external_entities e
left join external_members m on
left join groups g on
order by;
select, g.groupname from users u
left join local_members m on
left join groups g on
order by;

I'm not well verse with JIRA but you can find the list of available user by going to the Administrator >> User then filter users under the group jira-users. This should list the active user.

I used the FireFox TableTools plugin to filter all inactive users and copy them as tab delimited text to report on.

Thanks everyone for all your suggestions.

The last login time is there in the database tables. Also I guess marketplace has plugins which can automatically deactivate users.

My cwd_user_attribute table is also empty.

Thanks for your suggestions.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,076 views 4 9
Read article

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