Exporting to PDF a page with Dynamic Content macro that performs a CQL with labels return an error on the PDF file

XMLWordPrintable

    • Minor

      Issue Summary

      Having a Connect app that uses the Dynamic Content macro module and performs a request to /wiki/rest/api/search https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search/#api-wiki-rest-api-search-get containing labels on the CQL, the macro works fine on the page, however when it’s exported to PDF, it returns the following error:

       

      No {macroName} macro with name {name} found. Did you publish the page with the {macroName} macro? 

       

      Steps to Reproduce

      1. Create a Connect app with a Dynamic Content Macro
      2. The app should make an AP.request to /rest/api/search` with simple cql query containing label.
      3. Insert the macro into the page, publish it.
      4. Export it to PDF.
      5. Check the error message on the PDF file.

      Expected Results

      The PDF file content is the same as of the Confluence page.

      Actual Results

      No {macroName} macro with name {name} found. Did you publish the page with the {macroName} macro? 

      Workaround

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

            Assignee:
            Haibert Barfian
            Reporter:
            Guilherme Bueno (Inactive)
            Votes:
            13 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: