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

Is there any inactive user management plugins available?

we are using Crowd for user authentication and SSO for confluence and jira. We have limited user licencse for all tools. We need to alert users who are not logged in for more than 30 days by email and admin should be able to get the list those users and there should be an option for admin to deactivate those users. is there any plugins/options available for this task?

3 answers

Hello Ramesh,

On the Crowd database, you could run the following query to get a list of all users that have not logged-in in the last 30 days:

SELECT cwd_user.user_name AS 'User', DATEDIFF(DAY, DATEADD(s, FLOOR(CAST(cwd_user_attribute.attribute_value AS BIGINT) / 1000), '1970-01-01'), GETDATE()) AS 'Days since last login > 30'
FROM cwd_user, cwd_user_attribute
WHERE cwd_user_attribute.user_id =
AND cwd_user_attribute.attribute_name = 'lastAuthenticated'
AND DATEDIFF(DAY, DATEADD(s, FLOOR(CAST(cwd_user_attribute.attribute_value AS BIGINT) / 1000), '1970-01-01'), GETDATE()) > 30

You could set up a job that runs every night and sends out an e-mail to users and administrators as soon, as the list returns some results.

Hope this helps.



This doesn't seem to work with Jira/Crowd, it seems to report only few accounts ~10 instead of overt >200 which did succesfully loing (based on logs). It may be related to LDAP/AD/crowd usage as all reported accounts seems to be local ones, and missing ones are the LDAP/AD/crowd ones.

Hello Thomas,

Need a help,

We need to find out users from jira who have not logged in since last 30 days,

We use oracle database at the backend, but i am not familier with the oracle db,We use jira 5.2.8 standalone version.

Can you please suggest how can i proceed.




I tested a JIRA plugin a while back, might be what you're looking for:



Hello Roine,

Thanks for your great help, :)




Is there a plugin similar for Bitbucket?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Happy New Year and Welcome New Marketplace Partner Program Partners!

Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...

798 views 7 24
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