Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,412,037
Community Members
 
Community Events
169
Community Groups

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.

https://confluence.atlassian.com/jirakb/find-the-last-login-date-for-a-user-in-jira-server-363364638.html

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:
https://library.adaptavist.com/entity/deactivate-users

Cheers,
Daniel

Like # people like this

Comment

Log in or Sign up to comment