Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


How to migration users from Jira User Directory to internal Directory


Our Bitbucket Server uses User Directory from Jira Server.

Since we plan to migrate to Jira Cloud, Bitbucket Server can no longer use Jira User Directory...

How can you migrate all existing bitbucket users from an external user directory (Jira) to the internal bitbucket user directory, especially without losing all user-specific data, like ssh-keys, groups etc?

2 answers

1 accepted

0 votes
Answer accepted

After some testing with deactivation of Jira-user-directory-sync, we checked how Bitbucket behaved and whether accounts and its details still remain in bitbucket server or not.

Based on the fact that user-specific settings like ssh-keys are created/managed on Bitbucket and not on the Jira user, this data must be persisted on Bitbucket server database.


So, answering my own question and how we did it:

  • Login as a internal-user-directory admin- Disable "Jira User Directory Sync" on Bitbucket -> Bitbucket runs now with internal user directory only
  • Recreate all groups that were present and are missing now, with identical names
    • Create a new bitbucket account per user that existed before, take care same E-Mail address is used!
  • User receives "Welcome to Atlassian Bitbucket"-E-Mail to setup new password
  • Move "new" User to correct/same groups as it was configured before via Jira user directory

Note: All user-specific configs like ssh-keys still exist afterwards
Note2: This process could probably be automated using bitbucket API


Hope this helps anybody running into the same requirements

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events