Summary

      Users who are editing or creating new Page Templates (either Global or Space) are unable to add any Macros

      Steps to Reproduce

      1. Create a New Global Template (Settings > Global Templates and Blueprints)
      2. Add a Macro either using the autocomplete or from the Insert More Content menu

      Expected Results

      Macro is added and is visible in the Editor

      Actual Results:

      Nothing appears in the editor and browser console shows 404 errors when trying to add the macro:

      POST https://<INSTANCE>.atlassian.net/wiki/rest/tinymce/1/macro/placeholder 404
      (anonymous)
      XMLHttpRequest.send @ batch.js?build-number=6452&confluence.table.resizable=true&externals=__local-default__&locale=en-GB:10261
      send @ jquery-min.js:1
      ajax @ jquery-min.js:1
      o @ batch.js?build-number=6452&confluence.table.resizable=true&externals=__local-default__&locale=en-GB:3571
      macroBrowserComplete @ batch.js?build-number=6452&confluence.table.resizable=true&externals=__local-default__&locale=en-GB:3553
      a.afterComplete @ batch.js?build-number=6452&confluence.table.resizable=true&externals=__local-default__&locale=en-GB:1495
      a.complete @ batch.js?build-number=6452&confluence.table.resizable=true&externals=__local-default__&locale=en-GB:1494
      (anonymous) @ batch.js?build-number=6452&confluence.table.resizable=true&externals=__local-default__&locale=en-GB:1475
      _onclick @ batch.js?externals=__local-default__&locale=en-GB:792
      dispatch @ jquery-min.js:1
      a @ jquery-min.js:1
      batch.js?externals=__local-default__&locale=en-GB:370 Macro placeholder request failed error: ''
      

      Notes

      (Optional - If Necessary)

      Workaround

      1. Create a new Blank page in any space.
      2. Create and configure the Macro you need for your template in this new page.
      3. Copy the macro and paste into the Edit or Create template page.

            [CONFCLOUD-65196] Unable to Add Macros to Page Templates

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 3073601 ] New: JAC Bug Workflow v3 [ 3423345 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            Vasi added a comment -

            geoff88 you are welcome! Happy New Year!

            Vasi added a comment - geoff88 you are welcome! Happy New Year!

            AgentBee added a comment -

            Thanks Vasily 

            AgentBee added a comment - Thanks Vasily 
            Vasi made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]

            Vasi added a comment -

            Hi everyone,

            We can confirm that this issue has been fixed, macros should be working in templates just fine.
            If anyone still experiences any issues, please contact us via support form.

            Apologies for all the inconveniences caused around this issue.

            Thank you,
            Vasily
            Atlassian Support

            Vasi added a comment - Hi everyone, We can confirm that this issue has been fixed, macros should be working in templates just fine. If anyone still experiences any issues, please contact us via support form . Apologies for all the inconveniences caused around this issue. Thank you, Vasily Atlassian Support

            Macro placement in Global and Space Templates appears to be working again. Everyone keep your fingers crossed.

            Kathy Hart added a comment - Macro placement in Global and Space Templates appears to be working again. Everyone keep your fingers crossed.
            SET Analytics Bot made changes -
            Support reference count Original: 50 New: 53
            UIS Original: 18 New: 20

            Thanks for the workaround but this has been a frustrating issue. 

            Deleted Account (Inactive) added a comment - Thanks for the workaround but this has been a frustrating issue. 
            SET Analytics Bot made changes -
            Support reference count Original: 48 New: 50
            UIS Original: 10 New: 18
            SET Analytics Bot made changes -
            Support reference count Original: 46 New: 48
            UIS Original: 9 New: 10

              vlogvinenko Vasi
              scranford Shawn C
              Affected customers:
              51 This affects my team
              Watchers:
              69 Start watching this issue

                Created:
                Updated:
                Resolved: