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

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

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              61fc5024cfea Mirek Sztuba
              Votes:
              25 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated: