How to migrate some users from JIRA internal directory to LDAP / AD

 

1 answer

0 vote

The suggestion provided on this page is not supported by Atlassian Support.

 

@Taryck BENSIALI suggested these steps :

  • Set or reset the password of at least One Admin in the Internal Directory (to be sure you could get acces after import)
  •  Export XML


1) import file as it without any change (ony the required. in my cas date fix)
2) configure MS AD
3) sync user
4) Export XML
5) compare the 2 XML and get new entries :

  • <User> <ApplicationUser> <UserAttribute> <Directory ??>

6) edit XML File imported in step 1) and :

  • replace username (warning CASE SENSITIVE) found <ApplicationUser from File value to AD value found in file exported in step 4.
    Example : "myInternalUser" will be replaced by "AD-001aF"
    Note : char " at beginnning and end is part of the replacement.
  • do this for each user. You could also make some user fusion 2 source user to 1 target user
  • Add MS AD configuration markup (<DIRECTORY< but i'm not sure I do not have the file to check)
  • Leave at least one admin user in internal directory MANDATORY
  • Remove <User> <ApplicationUSer <UserAttribute ect.. markup that "have been migrated to MSAD" they should have DirectoryID="1"
  • Add <User> <ApplicationUSer <UserAttribute ect.. markup that "have been migrated to MSAD" source is exported file in step 4 (so made by synchronisation of MS AD Directory)
  • Optional Copy password (in credentialxxx field of User Markup) of a knowed user's password of internal directory to all admin user that still be in the internal directory (DirectoryId="1") in order to be sure to get access to JIRA after Import (I've locked out the first time and need MS SQL action to recover)

7) Import the modified File

8) Logon as admin

9) make integrity check and other check (may be on connection with other user)

10) Reopen to user.

 

information It's very highly recommended to try this before doing it live.
User substitution strings should be prepared to gain time, reduce downtime and reduce risks (typo errors)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 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