Connect app cannot read Jira macro on Confluence page without ADMIN scope

XMLWordPrintable

    • 1
    • Severity 2 - Major
    • 0

      Issue Summary

      This is reproducible on Data Center:  (no)

      The endpoint does not render Jira macros anymore when invoked by a Connect app user. 

      Steps to Reproduce

      1. Create a public Jira project with a couple of issues.
      1. Insert a Jira macro into a Confluence page.
      1. Insert a JQL query like project = KEY.
      1. Call the following endpoint /wiki/rest/api/content/<PAGE_ID>?expand=body.export_view
      2. If called by a Connect app, the response will not contain a rendered Jira table, but an error message:
         Data cannot be retrieved due to an unexpected error.
      3. If called by any logged-in user - or even an anonymous user - the export_view will contain an HTML representation of the Jira issues table.{}

      Expected Results

      If called by a Connet App, the response should contain a rendered Jira table.

      Actual Results

      Connect app cannot read Jira macro on Confluence page without ADMIN scope.

      Workaround

      Unknown

            Assignee:
            Unassigned
            Reporter:
            Mirek Sztuba (Inactive)
            Votes:
            25 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: