Details
-
Bug
-
Resolution: Fixed
-
Highest
-
1000.695.1
-
60
-
Severity 2 - Major
-
301
-
Description
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Summary
JIRA Cloud import fails when duplicate email address are found in the XML file: failed to import user remotely
Environment
- JIRA Cloud 1000.695.1
Steps to Reproduce
- Log into instance
- JIRA Import Wizard: https://<example>.atlassian.net/secure/admin/StudioImportSelect!start.jspa
- Select file > Import > File imports and begins processing
- During after 2nd reindex, during the User import > Import fails with the error message "Failed to import user remotely"
Expected Results
The import is successful and all users are created.
Actual Results
Import fails as soon as duplicate email is detected. JIRA instance down
Following error is displayed in JIRA Logs:
2017-01-13 12:49:50.743573500 2017-01-13 12:49:50,742 JiraImportTaskExecutionThread-1 ERROR sysadmin 647x859x1 4.15.43.214 /secure/admin/StudioImport!import.jspa [c.a.j.studio.importer.StudioImport] Unexpected error while restoring data: com.atlassian.crowd.exception.runtime.OperationFailedException: Failed to import user remotely 2017-01-13 12:49:50.743576500 com.atlassian.crowd.exception.runtime.OperationFailedException: Failed to import user remotely
2017-01-13 12:49:50.743697500 Caused by: com.atlassian.crowd.exception.OperationFailedException: Failed to import user remotely
2017-01-13 12:49:50.743713500 Caused by: com.atlassian.idp.client.exceptions.BadRequestException: {"errorType":"UserAlreadyExists","message":"A user with ExampleName@example.com already exists","data":"ExampleName@example.com"}
Cannot access the JIRA instance after the failed import
Notes
Related to: https://jira.atlassian.com/browse/JRA-63746 > Addressing the special character issue
Workaround
Remove all duplicate email address, generate a new backup, and use this new backup to perform the import.
Attachments
Issue Links
- is related to
-
JRASERVER-63492 Import doesn't sync user directories and users can't access JIRA
- Closed
-
JRACLOUD-79527 JIRA Cloud import "Failed to import user remotely" for admin's email address
- Closed
- relates to
-
JRACLOUD-63788 JIRA Cloud import fails when duplicate email found in backup: failed to import user remotely
- Closed
-
JRACLOUD-65234 JIRA import and convert to Atlassian Account from portal only customers failing with "failed to import user remotely" error message
- Closed
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...