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

I want a script that will deactivate the users that have not logged in since 90 days.Version 8.4.3

It should provide me the list of the users that have not logged from 90days

2 answers

1 accepted

Hi @Andra Dinu  - Thanks a lot for the help,it worked.

@Andra Dinu  - Can we get the users list that have been deactivated. As I am new to groovy, I am not able to figure out the changes that can be done.

Hei @tanvi_dhawanpatil

I don't think you need a groovy script for that, you should see the list under Report once you've ran the script. See image below:

Screenshot 2020-05-06 at 11.29.26.png 

@Andra Dinu  - Yes thanks,that works ,but that script is for the users that have never logged in.Need to do changes for the users that have not logged in from 90days.

Hi @Mohamed Benziane  - Thanks,I referred those links but I was getting one error:

"Use one of he other isUserInGroup method that takes a concrete object instead".And was not able to figure out the error.

Suggest an answer

Log in or Sign up to answer
TAGS
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...

462 views 6 18
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