In Jira, User Management > Groups > Bulk edit group members, remove many users in bulk from a group isn't possible. Instead, each user's id has to be selected by scrolling thru' the list of the group, then remove.
For many users such manual efforts doesn't seem to be practical, as its too cumbersome, much efforts involved.
While adding users works much better.
Is there a way to possibility to do this in easy steps or alternative ways ?
Any advise much appreciated.
I had a few issues with this and getting it to work. I ended up reaching out to Atlassian for assistance.
The below Python script worked a treat for Jira and confluence.
First export the users from the cloud environment (Be sure to select "All users", "Group Membership" and "Pivot to Column'), then filter and create a separate CSV file of all the users and the groups that you wish to remove them from.
#Remove Users From Group
My Approach is to create calls to the REST API
e.g.
curl -insecure -u admin:password -X DELETE -H "Content-Type: application/json" https://localhost:8080/rest/api/2/group/user?groupname=test&username=myussr
I usually keep an excel sheet with formulas to join user values and url snippets into useful REST calls and just paste them into a command window.
Crude but still saves me time.
Also check the marketplace for user management plugins.
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.