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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • 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

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 Fazila Ashraf likes this

Comment

Log in or Sign up to comment
TAGS

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