How do I disable a jira user using the command line interface?
Currently not supported. The remote APIs in this area are lacking, so it more difficult to provide the support. Please create an issue
https://bobswift.atlassian.net/browse/ACLI-79 - added, vote for it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It looks like this functionality has been added since this question was asked. Adding the reference here for those searching for it:
jira --action updateUser --userId "testuser1" --userFullName "Former employee" --deactivate
Taken from https://bobswift.atlassian.net/wiki/display/JCLI/Examples
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One way you could try is remove the user from all groups, including the magic group jira_user. Now there account is disabled and not counted in your license
CLI command removeUserFromGroup parameters userId, group
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, I'm not looking for the old and sick way of disabling users, the way that prevents you from reenabling them because you don't know which groups they used to be belong to.
I am looking for using the "Active" option which was added to Jira 5.1
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.