Forums

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

Disable account if never logged in

Bernhard Gruber March 16, 2023

Hi folks,

 

Is it possible to create an Automation that disables an account if it was not active for a while?

E.g. users that have never activated their account or users that have not opened a ticket for x months

 

It is quite difficult to do this manually, in particular if you have to send an email before closing.

 

Thanks for any hint!

2 answers

1 accepted

1 vote
Answer accepted
Brant Schroeder
Community Champion
March 17, 2023

Unfortunately, Jira does not have a functionality to easily identify the users that didn't have logged in the application over a specific amount of time and delete it. We understand how this functionality would be useful to better manage your site licenses, so we created the following feature request to get this implemented:

Delete inactive user based on activity 

Feel free to vote and watch the suggestion to increase its priority and also receive notifications about any updates.

For now, the only way to identify the users that have not logged in the application for a specific amount of time would be by checking the Last activity field in the user management section:

Screen Shot 2020-06-25 at 17.15.18.png

P.S: You can also export your users to a CSV file (Option at the top-right corner of the User management page), so you will be able to order by the last activity date and easily identify the users you need.

Once you do it, you can manually delete the users as you need. If you want to delete them in a bulk operation, you can use one of the options below:

  1. Create a script using Jira REST API endpoint to delete the users. P.S: Notice this is an experimental REST API, so it might change at any moment.
  2. Use a third-party plugin from Atlassian Marketplace, as Bulk User Delete for Jira.
1 vote
Dan Breyen
Community Champion
March 16, 2023

I could be wrong, but I don't think you can do it from within the application.  I'm just beginning down the API road.  I would guess there is either a third party app that might be able to do it, or you could write one of your own that uses APIs to get the list of users, sends an email, then suspends or deletes the account.  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events