Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

2 votes
Answer 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

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.

Like Jan-Willem Hordijk likes this

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

Like Adam Harm likes this

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.

Hi George

Sorry for raising this question so late but I will be doing something similar at my location. 

Are you indicating the you can have the same username (one from AD and one from Internal) in the Internal group at the same time? I know AD users can be added to the Internal groups but wasn't sure if it would error out since the same username (internal) is already present in the group. Or did you have to remove the internal user from the group first?

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you