Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

How to get inactive users of JIRA with groovy script?

Can we get list of inactive users for Jira server and JSD and Confluence users, like I need export list of users who are inactive from last 90 days at the same time they need to get notification automatically using groovy script 

1 comment

Daniel Ebers Community Leader Oct 27, 2020

Hi Upendar,

welcome to the Atlassian Community.

"Inactive" in that sense probably means "the user was not logged in for 90 days", am I correct?
I assume that this is meant as you are planning to notify them later using a groovy script. Probably the medium will be mail.

I found the knowledge base article to determine the last login date for a user.

Based on that you can implement a mechanism to either deactive them, or, to notify them - as you explained.

For deactivating users there is a script from Adaptavist library around which gained some attention:


Like Fazila Ashraf likes this


Log in or Sign up to comment

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