Can AD groups shadow JIRA internal groups?

If I have a group named "QA" in my JIRA internal directory and I then add an Active Directory user directory before the internal directory, and AD also has a group named "QA". What happens? I can see two possibilitiies:

1. JIRA handles this case and the AD group becomes the one that is used in notification schemes, permission schemes, workflows, saved filters, issue security schemes and project roles

2. More likely is that the group id from the internal group gets embedded in all those places and I have to change it myself. Has anyone done this with a Groovy script before me?

Note that the Groups page only seems to show the Notification schemes a group is used in, and the user directory a group belongs to is not shown anywhere.

4 answers

1 accepted

We're using this as a feature, to have one group configured in permission scheme, and users coming from inside (AD) and outside (internal crowd). In this case Jira makes union of user sets and username conflicts are resolved by directory order.

Everywhere we needed to use this trick we found out that only group name is taken into consideration, so it worked for us as unification between external users and company employees in terms of notifications, permissions etc.

0 vote

You mean, like "eclipse" a group? My understanding is that it depends on the order of the directories. If the internal dir is below the AD dir, the AD group will be used. Is that not what you see?

0 vote

I created a group and added it to all those places. In the XML backup it seems that the group name is used everywhere, so maybe JIRA just handles this case.

0 vote

Yes, eclipse or shadow a group, just like a user gets shadowed when you put the AD user directory above the internal user directory. I thought that I had seen the group id used in some parts of JIRA configuration but failed to find that when I went and looked.

So maybe I can just add an AD user directory with the same group names and everything will be hunky dory. But I haven't done that since JIRA 5 I think, so I'd love to hear from someone who has done this more recently

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

69 views 0 5
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