Getting Macro body for Table Chart macro returns error

XMLWordPrintable

    • Minor

      Issue Summary

      When using the "/rest/api/contentbody/convert/styled_view" endpoint to render the table chart macro, an error is returned instead of the table chart.

       

      Bug created during a fix to a different issue: https://jira.atlassian.com/browse/CONFCLOUD-74129 

       

      This is reproducible on Data Center: no

      Steps to Reproduce

      1. Create a new page (Page A) that contains a table.
      1. Transform that table into a chart.
      1. Retrieve the storage format of that page, e.g. using get content endpoint: {{{}{{/rest/api/content/ {id}

        ?expand=body.storage{}}}.

      1. Create an application with a macro that uses https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body/#api-group-content-body to get the styled_view of the macro provided the storage format above from Page A
      1. Install the app, create a new page (Page B) and insert the macro there.

      Expected Results

      Macro renders without error

      Actual Results

      Macro renders "Error" placeholder image

      Workaround

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

            Assignee:
            Unassigned
            Reporter:
            Alex White
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: