Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-65108

Cloud to Cloud Migrations fail due to External directory 'Identity Platform Directory' is not supported

    XMLWordPrintable

Details

    Description

      Environment

      • JIRA Cloud 1000.824.3

      Steps to Reproduce

      1. Export backup from source instance: https://<EXAMPLE>.atlassian.net/plugins/servlet/ondemandbackupmanager/admin
      2. Importing into target instance: https://<EXAMPLE2>.atlassian.net/secure/admin/StudioImportSelect!start.jspa
      3. Error:
        External directory 'Identity Platform Directory' is not supported. Please change the 'active' attribute to '0' or open a support ticket for more help.
      1. 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)

      KB: https://confluence.atlassian.com/display/JIRAKB/Importing+from+JIRA+Server+application+to+JIRA+Cloud+application+throws+an+Unsupported+Crowd+Directory+Error

      1. 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"/>
            
      1. Zipping file back up | Sample directory:
        activeobjects.xml
        data/
        entities.xml
        logos/
        
      1. 7z a jira-fixed.zip *
      2. Re-running export: https://<EXAMPLE2>.atlassian.net/secure/admin/StudioImportSelect!start.jspa
      3. Export completes but no users are present
      4. Manually add users from source instance

      Attachments

        Issue Links

          Activity

            People

              jromero@atlassian.com Jose R. (Inactive)
              jromero@atlassian.com Jose R. (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: