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

Confluence search and related macros not working with JSM Portal Embedded Pages

    • Severity 3 - Minor

      Issue Summary

      While it is possible to display pages with a chosen label in the page by using the Content by Label macro, it won't display the links for the pages for user without a Confluence license but have license to JSM (unlicensed users)

      Macros covered in this ticket - Live Search, Content by Label, Recently Updated, Page Properties Report, Content Properties Report.  All other macros should be filed in a new ticket

       

      Steps to Reproduce

      1. Create a page in Confluence and add a label to it e.g: test
      2. Create another page and add the Content by Label macro to the page, filter by the label "test" created
      3. Make sure for the space and site to not be open to anonymous users
      4. Open the site and space to anonymous users or create a link with a knowledge base and open to unlicensed users
      5. Get the link for the knowledge base article link and open it in anonymous window. Login with the portal account credentials and try to see the article

      Expected Results

      Portal accounts (customer accounts & unlicensed users) only should be able to see the content by label info

      Actual Results

      The following message is display instead of the Content by label macro if the site is closed for anonymous user at a site level:

      Error rendering macro 'contentbylabel' : CQL was parsed but the search manager was unable to execute the search. CQL: 'label = "test"'. Error message: com.atlassian.confluence.search.searchnsmarts.rest.SSSearchClientException: There was an illegal request passed to XP-Search Aggregator API : HTTP/1.1 403 Forbidden 

      If the site is open to anonymous users, but the space is closed for anonymous users, the content by label shows blank instead:

      Workaround

      If the site is already open to anonymous, if opening the space as well for anonymous users is not an issue, after enabling anonymous can View permission in the space, the content by label shows up in the article.

      There is still no workaround for sites and spaces that cannot be open to anonymous users.

            [AI-873] Confluence search and related macros not working with JSM Portal Embedded Pages

              9d0e29d8c299 Shangway Hsu
              jhonda@atlassian.com Jessica
              Affected customers:
              9 This affects my team
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: