Add a Group to Another Group

Is it possible to add a group to another group?  For example, we have a group called GroupA and would like to create GroupB that contains all the members of GroupA plus UserOne, UserTwo and UserThree.  If somebody is added/removed from GroupA, then they should automatically be added/removed from GroupB based on his membership in GroupA.

1 answer

1 votes

Yes, Use nested groups.

(copied from deleted answer) Just had a quick look at the documentation and it appears that the sub-groups must be LDAP/directory server groups. I am looking for adding JIRA user groups (created in JIRA) to another one.

(copied from deleted answer) Jobin Kuruvilla Sep 15, 2014 You can enable it for the internal user directory too. Just edit the internal directory and check the "Nested groups" option.

I tested this in my lab by setting or internal JIRA directory to use nested groups. I then created a new group, Super Group, and via the "Edit Nested Group Members" screen added two other groups with one member in each. When I view the group in the list of all groups, it shows it has 0 members. Shouldn't it show 2? I then added a single user to Super Group via the "Bulk Edit Group Members" screen and now it shows 1 member in the group list instead of 3.

It wouldn't explicitly add the users from the nested groups in to the parent group. But the permissions will be using the nesting. Did you check by granting permission to the parent group and see if the nested users are getting that permission?

Started from scratch and created three groups: NestedGroupOne - userOne added NestedGroupTwo - userTwo added SuperGroup - userThree added and both nested groups addded Created a test permission scheme where all permissions were set to SuperGroup. Created a test project and set to use test permission scheme. userOne (added to NestedGroupOne) cannot view/work on test project. userThree (added to SuperGroup directly) can. I don't know how to view which permissions userOne has. When I view the profile, all I can see is the list of Groups.

Can you try the Permission Helper to find out the permissions of userOne? Looks like you are doing everything right.

It says that userOne is not a member of SuperGroup. I have confirmed that it is a member of NestedGroupOne and that NestedGroupOne a nested group of SuperGroup. There are no permissions associated with NestedGroupOne as I expected them to inherit from SuperGroup.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,156 views 13 19
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot