Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-80983

On the Confluence page, we have 3 different macro-ids for a macro in current, edit, and draft mode.

XMLWordPrintable

      Issue Summary

      On the Confluence page, we have 3 different macro-ids for a macro in current, edit, and draft mode.

      Steps to Reproduce

      • Install the Handy Macros for Confluence (Status, Dropdown & Formatting).
      • Create a page and add a handy status macro.
      • Make a call to endpoint Get page by id and you will get the current macro-id.
      • Now, in edit mode, update the macro (click on the macro, choose an edit button, and select a different status).
      • Using the browser console, retrieve the macro-id using AP.context.getContext().then(context=>console.warn(context.confluence.macro.id)) and it will be different.
      • Once again call the endpoint Get page by id with get-draft=true and the macro-id will be different.

      Expected Results

      The macro-id to be same for Edit and Draft mode.

      Actual Results

      macro-id is different for Edit and Draft mode.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              2a7f4ad44e0d Ramchandra Kudtarkar
              Votes:
              18 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: