Migrating users from Crowd to Internal directory
Asked by Yogesh Mude:

As we are leaving behind the in house applications like jira, confluence, Bitbucket and Crowd servers \& planning to migrate data to cloud applications..Currently we are using crowd for user managements for all the Atlassian tools (jira, confluence and Bitbucket servers ) so we wanted to migrate all the users from Crowd directory to Internal directory.

Anyone who has gone through the same situation, please provide your suggestions/articles/steps that will be great help for us.


Answers:
author: Anshuman Bakshi
body: Hello Marcin,

We are planning to migrate from server to cloud, and as we have all our active users in crowd directory, we want all of our users to be available in cloud.

We have gone through the documentation link provided above but we are unable to see the option of **migrate users from one directory to another** is not available in the jira server--User Directories. Please see the screenshot attached.

![SCR1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/15068i9F1B4BEA9449F6D7/image-size/large?v=v2&px=999 "SCR1.PNG")

comments: author: Marcin Kempa
body: Hi [@Yogesh Mude](/t5/user/viewprofilepage/user-id/1001828) and [@Anshuman Bakshi](/t5/user/viewprofilepage/user-id/1153975),

At the moment I cannot find an easy method to do so apart from a following, slightly manual one.

I've found this [documentation](https://confluence.atlassian.com/doc/reverting-from-crowd-or-jira-applications-to-internal-user-management-188086.html), which describes a similar process for Confluence, which requires some DB changes.

The other potential option would be to export users from Crowd to a csv file using following [KB](https://confluence.atlassian.com/crowdkb/how-do-i-generate-a-csv-export-of-users-and-memberships-from-a-specific-directory-in-crowd-442271568.html) article. Then you could create an internal directory, place it under Crowd one in Jira, import those users using following method described in this [community answer.](https://community.atlassian.com/t5/Jira-questions/Is-there-a-way-to-import-users-from-csv-file-in-jira/qaq-p/436185) As the users should be the same, you could then change the order of directories in Jira, so the internal one would be the first one and disable Crowd remote directory. After such operation you should verify if all the issues and comments are still assigned to your users. This method, might require some additional work with restoring memberships and in general might be harder to implement.

I did not try those solutions on my own and I **strongly** recommend to test them on a testing / staging environment.

I hope that this helps. If I find more detailed instructions, I will post it here.

Marcin Kempa


author: Anshuman Bakshi
body: Thanks Marcin for your suggestions, We will try to follow these steps mentioned in the links.


author: Neeta Dubey
body: Hi Anshuman,

Did you try the suggestion made by Marcin? We need to do similar thing for our JIRA instance?


author: Juan Manuel Ibarra
body: Hi Yogesh, I recommend you read this article

<https://confluence.atlassian.com/adminjiraserver071/migrating-users-between-user-directories-802592357.html>

I hope it will be helpful

Regards!

comments: author: Yogesh Mude
body: Hi [@Juan Manuel Ibarra](/t5/user/viewprofilepage/user-id/980463),

Thanks for your response :)

i have gone through this article but the option which has mentioned in the User Directories ie **migrate users from one directory to another** is not available in the jira server--User Directories.

please have a look on [this](https://jira.atlassian.com/browse/JRASERVER-27868 "this") article.


author: Marcin Kempa
body: Hi [@Yogesh Mude](/t5/user/viewprofilepage/user-id/1001828),

I am not sure if I understand what you are trying to achieve. You would like to migrate users in from the remote Crowd directory in Jira to an internal one in Jira as well? So then you would be able to export whole Jira with users to Jira Cloud?

I assume that the ultimate goal is to have all your users from Crowd into Atlassian's Cloud? Is that correct?

The linked documentation [https://confluence.atlassian.com/adminjiraserver071/migrating-users-between-user-directories-802592357.html](https://confluence.atlassian.com/adminjiraserver071/migrating-users-between-user-directories-802592357.html?_ga=2.261933965.1626020637.1518699782-20562517.1518699782) only refers to Jira, and this option is only available if you have at least two internal or delegated directories as only migration between those types of directories is possible.

Best Regards,

Marcin Kempa


author: Yogesh Mude
body: Thanks [@Marcin Kempa](/t5/user/viewprofilepage/user-id/671367) for your response.

Yes, Our goal is that all the users of crowd server to be able to login once we are migrating to Jira cloud..

Currently in our Jira server one internal and one crowd directory had been configured.


Tags: bitbucket-administration

bitbucket-cloud

bitbucket-server

confluence-cloud

crowd-administration

jira-software

jira-software-cloud