Uploaded image for project: 'Migration Platform'
  1. Migration Platform
  2. MIG-288

Custom content objects are not being imported during server to cloud migrations

    XMLWordPrintable

Details

    • Major

    Description

      Issue Summary

      Custom content objects are not being imported during server to cloud migrations. Custom content objects have no specific prefix in server, but a prefix of 'ac:' in cloud. For example, a server app may have a custom content object app-foo-document-for-confluence:document but the cloud version of the app will have a custom content object ac:app-foo-document-for-confluence:document.

      When exporting spaces on server and importing them into cloud (which is what the migration assistant does by default), the ac: prefix is not added to the custom content objects. As a result, the documents are not picked up by the APIs and therefore not available in the cloud version of the app.

      Atlassian should take care of adding this prefix as part of the Migration assistant task.

      Steps to Reproduce

      1. Install Scroll Documents on Confluence server
      2. Create a document in any space from the Document Library
      3. Migrate the space to a cloud instance using the Atlassian Migration Assistant

      Expected Results

      The Document should be available in the Document Library of the space on Cloud.

      Actual Results

      The Document is not available in the Document Library on Cloud.

      Workaround

      The following workaround exists, but is not scalable:

      1. Create a space export from server that has a Scroll Document created
      2. Unzip the space export zip file
      3. In the entities.xml file manually add the prefix to all occurrences of the custom content instances in the CustomContentEntityObject object
            <property name="pluginModuleKey"><![CDATA[ac:k15t-scroll-document-versions-for-confluence:document]]></property>
            
      1. Repackage the space export archive
      2. Import to Cloud 

      Notes

      Although the fix for this issue will migrate custom app CONTENT data, it does not resolve any permission issues that may be required for the App via Connect. Please watch MIG-303: Add-on users are not migrated with space permissions for updates for a fix for the permissions issue.

      Attachments

        Issue Links

          Activity

            People

              jrichards@atlassian.com James Richards
              dmorrow@atlassian.com Dugald Morrow
              Votes:
              11 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: