'Create from template' macro don't point to correct builtin blueprint template after migration

XMLWordPrintable

    • 2
    • Minor
    • 2

      Issue Summary

      After migration, 'Create from template' macro doesn't work for pre-builtin blueprint template(ie, Share a link) and display the follow message when clicked on:

      The original template has been deleted. Select a new template for the Create From Template macro.

      Steps to Reproduce

      1. Create new page and add 'Create from template' macro with builtin templates like [share a link]
      2. Migrate space from Server/DC to Cloud via CCMA 

      Expected Results

      'Create from template' macro button works on destination and a new page is created with the desired template

      Actual Results

      Clicking the 'Create from template' macro button causes the following message to show:

      The original template has been deleted. Select a new template for the Create From Template macro.

      If you edit the macro it'll show pointing to the first template in the list instead of the desired template.

      Page source points to an old macro

      <ac:structured-macro ac:name="create-from-template" ac:schema-version="1" ac:local-id="abcdefghi" ac:macro-id="aaaa-bbbb-cccc-dddd-eeeeeee">
          <ac:parameter ac:name="spaceKey"><ri:space ri:space-key="SPACEKEY" /></ac:parameter>
          <ac:parameter ac:name="contentBlueprintId">aaaaaaa-bbbb-cccc-dddd-eeeeeeeeee</ac:parameter>
          <ac:parameter ac:name="blueprintModuleCompleteKey">com.atlassian.confluence.plugins.confluence-business-blueprints:sharelinks-blueprint</ac:parameter>
          <ac:parameter ac:name="templateName">aaaaaa-bbbb-cccc-dddd-eeeeeeee</ac:parameter>
          <ac:parameter ac:name="createButtonLabel">Create shared link</ac:parameter>
      </ac:structured-macro> 

      Workaround

      Manually edit the macro on the page and select the desired page template that should be used and publish the change. Or contact Atlassian Support for support. 

              Assignee:
              Unassigned
              Reporter:
              Allie Kim
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: