Details
-
Bug
-
Resolution: Fixed
-
Low
-
2
-
Severity 3 - Minor
-
Description
Environment
- JIRA Cloud 1000.824.3
Steps to Reproduce
- Export backup from source instance: https://<EXAMPLE>.atlassian.net/plugins/servlet/ondemandbackupmanager/admin
- Importing into target instance: https://<EXAMPLE2>.atlassian.net/secure/admin/StudioImportSelect!start.jspa
- Error:
External directory 'Identity Platform Directory' is not supported. Please change the 'active' attribute to '0' or open a support ticket for more help.
- JIRA Log Error:
2017-03-21 08:59:51.968045500 java.io.IOException: Could not delete file in Media API; Reason: 'FILE_NOT_FOUND'; Http status code: '404'; Message: '{"error":{"code":"NotFoundError","title":"Resource d63cf8a6-9e0c-4cff-a4af-1580ca5c4cfb requested does not exist","href":"https://media-api-internal.atlassian.io#NotFoundError"}}'
Cannot proceed without modifying the XML > See workaround below
Expected Results
Migrating from Cloud to Cloud to be possible without the need to modified the entities.xml
Actual Results
When migrating from Cloud to Cloud, JIRA Export contains 2 directories in the entities.xml. This causes the following error to occur when migrating from Cloud to Cloud:
External directory 'Identity Platform Directory' is not supported. Please change the 'active' attribute to '0' or open a support ticket for more help.
Workaround
This will not bring our the users from the source instance (example), but it will allow you to import into target instance (example2)
- Modifying XML to remove the directory and trying again:
From:<Directory id="2" directoryName="Identity Platform Directory" lowerDirectoryName="identity platform directory" createdDate="2013-03-20 08:45:25.29" updatedDate="2017-03-21 08:25:12.632" active="1" description="Identity Platform Directory" implementationClass="com.atlassian.crowd.directory.IdentityPlatformRemoteDirectory" lowerImplementationClass="com.atlassian.crowd.directory.identityplatformremotedirectory" type="IDP" position="0"/>
To:
<Directory id="2" directoryName="Identity Platform Directory" lowerDirectoryName="identity platform directory" createdDate="2013-03-20 08:45:25.29" updatedDate="2017-03-21 08:25:12.632" active="0" description="Identity Platform Directory" implementationClass="com.atlassian.crowd.directory.IdentityPlatformRemoteDirectory" lowerImplementationClass="com.atlassian.crowd.directory.identityplatformremotedirectory" type="IDP" position="0"/>
- Zipping file back up | Sample directory:
activeobjects.xml data/ entities.xml logos/
- 7z a jira-fixed.zip *
- Re-running export: https://<EXAMPLE2>.atlassian.net/secure/admin/StudioImportSelect!start.jspa
- Export completes but no users are present
- Manually add users from source instance
Attachments
Issue Links
- is related to
-
JRASERVER-64830 No enum constant com.atlassian.crowd.embedded.api.DirectoryType.IDP error when migrating from Cloud to Server
- Closed
-
CONFSERVER-51943 No enum constant com.atlassian.crowd.embedded.api.DirectoryType error when Importing Cloud instance
- Closed
- relates to
-
JRASERVER-64830 No enum constant com.atlassian.crowd.embedded.api.DirectoryType.IDP error when migrating from Cloud to Server
- Closed
- mentioned in
-
Page Loading...