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

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.


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 - 

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: 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,095 views 4 9
Read article

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