Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Migrate users from one directory to another in Jira

Hitendra Chauhan
Contributor
February 26, 2018

What happens when Jira Delegated authentication directory users are migrated to Jira's internal directory ?

There are some observation:-

All users are not migrated to Jira's internal directory . What could be the reason ?

Many Users are made in-active   after migration completed. This is very random some users in internal directory are in-active and some are in delegated directory.  Why does this happen or there is any pattern or reason jira does it ?

 

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 2, 2018

Hi Hitendra,

The migration of users in Jira is better explained in the document Migrating users between user directories.   I would expect this to migrate users between directories, but there are a few noted limitations to doing so in that document:

It also has the following features:

  • If you, the currently logged-in user, are in the directory to be migrated from, your user data will not be migrated.
  • Users and groups will not be migrated if they already exist in the target directory. For example, consider a user that exists in JIRA Internal and JIRA Delegated LDAP but has different groups in JIRA Internal: when migrating from JIRA Internal to the JIRA Delegated LDAP, that user will be skipped and the groups will not be migrated.

I would really only expect Jira to not migrate a user if that user is either the admin user account performing this action, or if the destination directory already has a useraccount by the exact same name.

If you find that there are still problems beyond those expected in this document, I would recommend trying to enable the DEBUG logging on the following packages in Jira.  Steps on how to do this are in Logging and profiling

com.atlassian.crowd.embedded
com.atlassian.crowd.directory
com.atlassian.jira.user

If you can do this before you migrate users, the logs we could then collect from Jira could be more helpful in understanding what is happening during this process.  I would expect them to gather a lot more data in regards to the exact steps taking place behind the scenes when this happens.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events