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

Cannot Add "Pie Chart" Macro to a page using the new editor

    XMLWordPrintable

Details

    Description

      Summary

      Cannot Add "Pie Chart" Macro to a page using the new editor

      Environment

      • New Editor
      • "Pie Chart" Macro

      Steps to Reproduce

      1. Add "Pie Chart" to a page - either by typing '/pie chart' or by clicking the + drop-down menu > "View More" > 'Pie Chart'

      Expected Results

      • Macro to be correctly inserted into the page;

      Actual Results

      • Error displayed on browser's console, after inserting the macro (typing '/pie chart'):
        No macro is added to the page and the following error is displayed
        TypeError: "g.params is undefined"
        

      • If inserting macro via + drop-down menu > "View More" > 'Pie Chart'
        The macro is inserted, with the error below being thrown. When editing the macro, the availabe editing options are not of those of the "Pie Chart" Macro, as can be seen in the next screenshot
        Error: undefined missing confluence/api/navigator-context
        

      Workaround

      Instead of using "Pie Chart" Macro, use "Jira Charts" macro instead, and select Pie chart on the left pane of this macro > Add the desired JQL and volia!
      (The macro may not be displayed in preview mode, or even edit mode, but once the page is published the macro will take a few seconds to load and will be displayed correctly)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              halegra Helton A. (Inactive)
              Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: