Automatically disable inactive users to save licenses

Are there any alternatives to using the 555$/month scriptrunner addon to automatically disable users that have been inactive for longer as 180 days? 

Since we'd only be using it for this purpose, the price is just to high for us.

- separately for JIRA and Confluence licenses if possible.

Kind regards
Rik

1 answer

2 votes
Tarun Sapra Community Champion Jul 26, 2017

I have written a script to do it. Basically do a SQL select which fetches the users who haven't logged in last 3 months , then make these user inactive and remove them from the default access groups like confluence-users, jira-users.

https://community.atlassian.com/t5/JIRA-Core-questions/Database-query-to-get-all-users-who-haven-t-logged-within-a-year/qaq-p/370478

 

Thanks for the speedy reply!

Is it possible to execute / schedule this on the cloud version of Jira somehow?

Tarun Sapra Community Champion Jul 26, 2017

Cloud REST API doesn't support it right now - https://jira.atlassian.com/browse/JRACLOUD-33225 

Thus, my opinion will be to create a support request, they will give you a list in CSV file, then you can write a python create to deactivate the users or manually do it, depending on the number of users that need to be deactivated.

so they increase my invoice with 200% in one month, but give me hardly any means to control it... lovely. 

I have a 500+ user environment that i need to maintain.

Thanks for your input though. it's been quite helpful

 

all people with similar requirements, could vote for this feature request from 2015, to add an API call to deactivate users: https://jira.atlassian.com/browse/JRASERVER-44801 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

465 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you