Copying a page with the Create from Template macro to another space causes the macro to create the page in the original space

XMLWordPrintable

    • 12
    • Severity 3 - Minor
    • 1

      Issue Summary

      After setting the Create from Template Macro into a page, and copying it to another space, a specific bug will occur: the macro will create the page in the original space that was copied from, which the expected behavior is to create in the target space.

      The partner has an app to copy Confluence spaces: https://marketplace.atlassian.com/apps/1212099/copy-space-for-confluence?hosting=cloud&tab=overview, which this issue does occur and impact the functionality. 

      Steps to Reproduce

      1. Create a page.
      2. Insert the Create from Template Macro.
      3. Copy the page to another Confluence space. Can be performed with the Copy page menu item, or the Copy page hierarchy API endpoint: https://developer.atlassian.com/cloud/confluence/rest/api-group-content---children-and-descendants/#api-wiki-rest-api-content-id-pagehierarchy-copy-post.
      4. In the page of the new space, click on create button of the macro.
      5. The page will be created in the original space (not the target space).

      Notes

      The space key parameter is a required field in the current implementation. This was also mentioned by the partner as a bug, and if it was not required, could solve this issue.

      Expected Results

      Automatically create the page in the new space.

      Actual Results

      The page is created in the original space.

      Workaround

      Editing and saving the macro is a workaround, however the macro should automatically perform this. 

            Assignee:
            Unassigned
            Reporter:
            Guilherme Bueno (Inactive)
            Votes:
            9 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated: