Jira Active Directory integration

Before, we were using internal directory. All of the our groups and permissions at internal.

After creating microsoft active directory our user come from active directory (first one) and internal.

And most of the users are in both directory. Active directory users(who is also in internal directory) can not login now. How we can take groups information from at internal directory,not in active directory?

Any suggestions for this migration? (Users from AD and groups at intenal)

4 answers

1 accepted

Hi Mohant,

You have to use "Internal with LDAP Authentication". This uses active directory only for authentication, but the groups are from JIRA.

Documentation is available here

https://confluence.atlassian.com/display/JIRA/Connecting+to+an+Internal+Directory+with+LDAP+Authentication

Since you already have these users in an internal directory, it is important that you order the directories correctly.

That is the behaviour expected. You will have to treat them as a new user and associate them to project roles/groups. They are automatically added to jira-users group with the "Copy User on Login" selected.

What is the total number of users are we talking about here?

I select "Delegated LDAP Authentication" as first. And without "Copy User on Login" and our users can not login who is defined before on internal and also in active directory.

However, i check "Copy User on Login" users can login but they lost their internal group informations at user list group information.


More than 300 users and more than 50 groups.

how we can do this automaticaly?

Moreover, i get this error while try to login

Directory 'Delegated LDAP Authentication' is not functional during authentication of XXXX

If you are using 5.0 and later, I think it will help to use the "migrate user from one directory to another" link

Hi Mohant,

I had the same issue as you do. I had 1500 users with 96 groups. 

Before you start, you need to make sure that you internal JIRA users and AD users have same usernames.

What I have done is I connected JIRA to "Internal Directory with LDAP authentication" but as you already mentioned, when the users login with their AD credentials they will not be in their old JIRA groups.

Then I have removed it. Now I have retrieved all groups from the database and then I used this query to retrieve a list of users for each group: "select child_name from jiraschema.cwd_membership where parent_name ='group name'". Then for each result, I have created a comma seperated list of the users using Excel and copied this list to the bulk group edit tool in JIRA.

For 96 groups, this operation took me around 5 hours. But it is done once for all.

Are you wanting you use JIRA with Active Directory as the user source? Have some users already been using JIRA and are stored locally?

A username can only exist once, either locally or delegated (externally), so this will be why your users can't login as they did before.

In order to fix this you will need to define a Delegated Authentication source and migrate your local users to the Delegated Authentication source - don't migrate your local sysadmin user though! At present this can only be done via database commands, so if you wish to go down this route then please backup your JIRA instance and database first. Once you have done that then these instructions may help. (They worked fine for us.)

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 Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

619 views 6 12
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