Is it possible to add all users to a new group?

I've been tasked with simplifying our JIRA permission scheme and groups setup (it's an absolute mess at the moment - easily the worst I've ever seen in any company I've worked at).

So my thoughts were "sure, I'll just add everyone to a new group", but I can't see a way of doing that? We've got about 600 active users so doing it one by one would suck.

The other option is use one of the default groups, but it appears that we don't have any one group that has all our users in....which likely means some people have been removed from the default groups.

Even discussing this could come up with other solutions so I'm open to anything. I'm a bit limited as we use JIRA Cloud.

2 answers

1 accepted

0 vote

Niclas is right – the REST API is a good way to go. Bob Swift's JIRA Command Line Interface makes that really easy. There's an "Add user to group with file" option that might work well for you:

https://bobswift.atlassian.net/wiki/display/JCLI/Reference#Reference-addUserToGroupWithFile

Thanks both - I'm going to see where I can get to with the REST API. I've been an admin for years but I always try and do stuff through the tool rather than trying to get it to do stuff it doesn't let you do by default, but this should be a good learning opportunity.

Hi!

If it's available I would use the bulk edit group membership. I don't have access to JIRA Cloud and I'm not able to find the documentation for this. It looks like this in JIRA Server.

Screen Shot 2017-03-01 at 13.49.21.png

With some shift magic selecting the first and last should tick all the ones in between. 

If this is not applicable I would utilise the REST API.

https://docs.atlassian.com/jira/REST/cloud/#api/2/group-addUserToGroup

Good luck!

Thanks for that suggestion - unfortunately it doesn't look like that on Cloud - what version of JIRA are you on? I remember that screen but I think it has been gone for a while - could be due to Cloud.

This is JIRA server 7.2 but I also see it in 7.3. If no bulk actions are possible in the GUI I would recommend doing it with REST API then. smile

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published yesterday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

451 views 6 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you