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 added a comment -

            This issue is caused by the broader issue that Confluence search does not show results to unlicensed users. As the Content by Label Macro is supported on the backend by CQL, its results also cannot be shown to unlicensed users. I am marking this ticket as `tracked elsewhere` and ask that anyone monitoring this ticket instead monitors the root cause ticket here: https://jira.atlassian.com/browse/CONFCLOUD-70652 

            nmcginley added a comment - This issue is caused by the broader issue that Confluence search does not show results to unlicensed users. As the Content by Label Macro is supported on the backend by CQL, its results also cannot be shown to unlicensed users. I am marking this ticket as `tracked elsewhere` and ask that anyone monitoring this ticket instead monitors the root cause ticket here:  https://jira.atlassian.com/browse/CONFCLOUD-70652  
            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 ]

            This change is not a bug and clearly involves improvement in CC Indexer, monolith and search platform side changes. Changing the priority to reflect the same.

            Saravana Gupta Ravindran added a comment - This change is not a bug and clearly involves improvement in CC Indexer, monolith and search platform side changes. Changing the priority to reflect the same.

            Dane added a comment -

            +1

            Dane added a comment - +1
            samyak (Inactive) made changes -
            Component/s New: Search - Indexing [ 46493 ]
            Component/s Original: Macros - Content by Label [ 46373 ]

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

                Created:
                Updated:
                Resolved: