How to add a ldap group-filter for more than one OU?

Hi there,

in our ActiveDirectory we have many many OUs with groups we need four our Confluence.

So we have to search the whole Base-DN and have to create a group-search-filter...

I have tried many querys but I didn't get any result :-(

I found: tried


but it didn't work.

I tried


but it didn't work either.

Any idea what is missing?

Kind regards


1 answer

1 accepted

1 vote
Accepted answer

Hi André,

As for your question about limiting the group search by DN, it would be possible in most LDAP distributions (see Matching Components of Distinguished Names in this documentation). This filter is supported as LDAP-compliant servers support an extensible-match filter which provides the necessary filtering capability to this search (see RFC4511).

However, on Microsoft Active Directory is impossible to do this, it's because AD is not fully LDAP compatible and does not support the extensible-match (see this documentation).

Another option can be use Nested Groups in your LDAP and set a filter in Group Object Filter field as this example:


In this example Group_A is the parent group and it wouldn't be pulled to JIRA, this filter would only return its child groups.

I hope it helps.


Hi Tiago,

thanks for your answer but to add all groups to a specific one ist not possible for that need.

We have moved the group into that OU which is already in read out.

Kind regards.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,084 views 4 9
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