How do I assign users (in bulk) to a group.

Vikas Chhatwal March 10, 2014

Hi, I am trying to add users to a particular group, but I want to do this in a bulk. I have 300 users and its painful to give users permission to a group one by one. Is there a way I can do a bulk edit and assign all the users to a particular group.

I am using the new User Management page to do it, but I do not see any option of bulk assignment.

Please advise.

Regards,

Vikas

2 answers

0 votes
Chris Rondeau
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 10, 2014

Without a list of users I cannot think of a convienient method.

Importing Users requires a list, there was a script.. but again that requires a list.

Maybe make a list of users.. https://confluence.atlassian.com/display/JIRA/How+to+Export+Users+to+CSV+from+JIRA

The command line interface is supposed to allow you to do this as well, but I have never used it.

https://bobswift.atlassian.net/wiki/display/JCLI/JIRA+Command+Line+Interface

Vikas Chhatwal March 10, 2014

Ours is a hosted version of JIRA and so I dont have access to the Database.

Chris Rondeau
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 10, 2014

hmm that does make it more difficult. There is no existing group you can leverage user names from?

Using REST you could get users one letter at a time..

https://servername/rest/api/2/user/search?username=a

But you could probably get all the users in the "old" way, by the time compiled all the names this way.

0 votes
Chris Rondeau
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 10, 2014

If you go into the Bulk Group User Manager, you can paste their usernames. Or enter them, which is slightly less tedious in this window.

Admin -> User Management -> <group name> Edit Members

Vikas Chhatwal March 10, 2014

Thank you Chris. But getting a list of 300 user names, and doing this is tedious. I was wondering if we had something similar to the "Roles" function under User Managemnt that can be done by selecting all users and assigning it to the group. the way we do it for Roles.

Suggest an answer

Log in or Sign up to answer