The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I add a group to another group as group member?

Gyula Brajer
February 25, 2016

I have 2 groups, Manager and Directors. I want to create a 3rd group, Approvers exactly with members of Managers and Directors. Can I add Managers and Directors to the Approvers group as group "members"?

5 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Tibor Hegyi _META-INF_
Atlassian Partner
February 25, 2016

Hi,

No, Confluence itself cannot deal with nested groups.

However, if you connect Confluence to Active Directory (LDAP), and manage the groups in AD, you can use nested groups within AD. The nested groups can be resolved by Confluence properly.

See docs here: https://confluence.atlassian.com/doc/managing-nested-groups-229838455.html

Tibor

Gyula Brajer
February 25, 2016

Kösz.

5 votes
Mohamad Khalife
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 Champions.
February 25, 2016

No, you can't.

In this case, you should use Roles, create a new "Approvers" roles and assign these two groups to it. then you can assign users of this role to specific permission or condition or user custom field values..

https://confluence.atlassian.com/jira/managing-project-role-membership-185729456.html

1 vote
Vasiliy Zverev
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 Champions.
February 25, 2016
1 vote
Rahul Aich [Nagra]
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 Champions.
February 25, 2016

Unfortunately not.

If there are hundreds of users in Managers and Directors group then i would recommend using the CLI plugin for it.

You can get the list of users from this command 

jira --action getUserList --group "testgroup2" --outputFormat 2


And you can add users to the 3rd group with thiscommand

jira --action addUserToGroupWithFile --file "src/itest/resources/addUserToGroupWithFile.csv" --autoGroup


Rahul


0 votes
Gyula Brajer
February 25, 2016

Thanks for the answers, we'll manage the groups in AD.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.