Uploaded image for project: 'Atlassian Intelligence'
  1. Atlassian Intelligence
  2. AI-310

Content by label macro is not working for Unlicensed users

    • Minor

      Issue Summary

      The Content by Label macro is used to report pages using specific labels. However, this macro is not working for Unlicensed users - they are prompted with an error message.

      Steps to Reproduce

      1. Create a Confluence Space, and link it as a Knowledge Base for a Jira Service Desk project.
      2. On JSD, make sure that Any active user is able to access the Space.
      3. Create a page on this Space.
      4. Add a Content by Label macro on it.
      5. Access this page, as a Service Desk customer (Unlicensed user).

      Expected Results

      The macro should work properly, reporting the pages that have the desired label.

      Actual Results

      Below error message is displayed on the page:

      Error rendering macro 'contentbylabel' : CQL was parsed but the search manager was unable to execute the search. CQL: '<macro search>'. Error message: com.atlassian.confluence.search.searchnsmarts.rest.SSSearchClientException: There was an illegal request passed to S&S Content Search API : HTTP/1.1 403
      

      Example:

      Workaround

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

            [AI-310] Content by label macro is not working for Unlicensed users

            pqz made changes -
            Component/s Original: Search - Scaling [ 61411 ]
            Component/s Original: Search - Indexing [ 46493 ]
            Component/s New: Search - Core [ 75296 ]
            Component/s New: Search - Indexing [ 75295 ]
            Key Original: CONFCLOUD-70697 New: AI-310
            QA Demo Status Original: Not Done [ 14330 ]
            QA Kickoff Status Original: Not Done [ 14234 ]
            Support reference count Original: 4
            Project Original: Confluence Cloud [ 18513 ] New: Atlassian Intelligence [ 23110 ]
            nmcginley made changes -
            Resolution New: Tracked Elsewhere [ 15 ]
            Status Original: Short Term Backlog [ 12074 ] New: Closed [ 6 ]
            nmcginley made changes -
            Link Original: This issue is related to CONFCLOUD-70652 [ CONFCLOUD-70652 ]
            nmcginley made changes -
            Link New: This issue is caused by CONFCLOUD-70652 [ CONFCLOUD-70652 ]
            Sunny Xu (Inactive) made changes -
            Due Date Original: 17/Aug/2021
            Saravana Gupta Ravindran made changes -
            Priority Original: High [ 2 ] New: Medium [ 3 ]
            samyak (Inactive) made changes -
            Component/s New: Search - Indexing [ 46493 ]
            Component/s Original: Macros - Content by Label [ 46373 ]
            nmcginley made changes -
            Remote Link New: This issue links to "Page ( Pug)" [ 567857 ]
            nmcginley made changes -
            Assignee Original: Nora McGinley [ nmcginley@atlassian.com ] New: nmcginley [ nmcginley ]
            Sunny Xu (Inactive) made changes -
            Due Date New: 17/Aug/2021

              nmcginley nmcginley
              edc026a7b429 Vitor A (Inactive)
              Affected customers:
              15 This affects my team
              Watchers:
              22 Start watching this issue

                Created:
                Updated:
                Resolved: