Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

tanvi_dhawanpatil May 5, 2020

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

2 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Andra Dinu
Contributor
May 5, 2020
tanvi_dhawanpatil May 5, 2020

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

tanvi_dhawanpatil May 5, 2020

@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.

Andra Dinu
Contributor
May 6, 2020

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 

tanvi_dhawanpatil May 6, 2020

@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.

tanvi_dhawanpatil May 5, 2020

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.

TAGS
AUG Leaders

Atlassian Community Events