I am looking for a readymade plugin / script / automation which may help us to delete inactive users from JIRA. I know that Jelly Script can help me here but I dont see any point in reinventing the wheel if anyone in this entire JIRA world has already implemented something.
Atlassian folks, here is a request to publish piece of code to handle these small requests - It will surely help community as well as Atlassian too.
The closes thing to this would be https://gist.github.com/3170993 but it's not complete yet.
I am working on implementing something in order to answer my own question from https://answers.atlassian.com/questions/71722/how-to-deactivate-disable-jira-users-on-in-am-automatic-way-that-would-work-on-public-and-private-instances-too
I am looking for a solution that requires no further maintenance and that will work for any jira auth setup.
I don't think that there are is a ready script for this. First you have to decide when a user is inactive.. Second, you cannot delete a user that is the reporter or the last assignee of an issue.
I would not delete these people, but remove the "jira-user"-role from them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For sure I am not expecting deletion of any participants.
When we configured JIRA first time, earlier JIRA admin imported all 29000 users to JIRA. In reality 750 users are actively using the same. I have a list of users who all are active. May be a good approach to delete 27000 users would be -
1. Query the user one by one
2. Compare the user with the declared active users in CSV.
3. If user is available in the CSV then dont delete the same else delete it for ever!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.