Post-migration: Built-in blueprint macros ("Create from template" & "Content Report Table") retain source contentBlueprintId after Server/DC → Cloud migration, causing draft creation loop and broken template references

XMLWordPrintable

    • 1
    • Severity 2 - Major
    • 9

      Issue Summary

      Following a Server/Data Center to Confluence Cloud migration using CCMA, built-in blueprint macros such as "Create from Template" and "Content Report Table" referencing native blueprints (for example, com.atlassian.confluence.plugins.confluence-business-blueprints:file-list-blueprint) continue to fail on Cloud.

      Even after the fix in https://jira.atlassian.com/browse/CONFCLOUD-84407 and enabling the feature flag confluence_migration_fix_blueprint_macro at 100%, newly remigrated spaces still retain the legacy source contentBlueprintId parameter in the page storage format instead of stripping or remapping it.

      When clicking the macro button (for example, "Create file list" or "Add how-to article"), Confluence enters a draft-creation loop and fails to load the template, displaying:
      "The original template has been deleted. Select a new template for the Create From Template macro."

      Steps to Reproduce

      1. In Confluence Data Center, create a page containing a native blueprint macro (for example, "Create from Template" or "Content Report Table" for File List / How-to / Share a link).
      1. Migrate the space to Confluence Cloud using CCMA 3.14.0+.
      1. In Confluence Cloud, open the migrated page and click the macro creation button or attempt to edit the macro.

      Expected Results

      The macro-fixing transformation strips the stale Server/DC contentBlueprintId (or dynamically resolves it via blueprintModuleCompleteKey + space), allowing the native blueprint template to open and create pages successfully in Cloud.

      Actual Results

      1. The macro's storage format still retains the legacy Server/DC contentBlueprintId:

       

      <ac:structured-macro ac:name="create-from-template" ac:schema-version="1" ac:local-id="<macro-local-id>" ac:macro-id="<macro-id>">
        <ac:parameter ac:name="contentBlueprintId"><legacy-source-uuid></ac:parameter>
        <ac:parameter ac:name="blueprintModuleCompleteKey">com.atlassian.confluence.plugins.confluence-business-blueprints:file-list-blueprint</ac:parameter>
        <ac:parameter ac:name="createButtonLabel">Create file list</ac:parameter>
      </ac:structured-macro> 
      1. Clicking the button creates repeated draft pages in a loop without loading the editor.
      1. Editing the macro shows an empty dropdown or "The original template has been deleted."

      Workaround

      There is no viable workaround available at this time.

              Assignee:
              Unassigned
              Reporter:
              Arthur Dantas
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: