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

            Fix for unlicensed users has been 100% rolled out to production

            Shangway Hsu added a comment - Fix for unlicensed users has been 100% rolled out to production

            The issue for unlicensed/anonymous users has been fixed. This ticket will be closed.

            We will be addressing the issue for customer portal users in https://jira.atlassian.com/browse/CONFCLOUD-74422, which is currently in progress.

            cc: 8bc977c59aad 

            Tina Bolton added a comment - The issue for unlicensed/anonymous users has been fixed. This ticket will be closed. We will be addressing the issue for customer portal users in https://jira.atlassian.com/browse/CONFCLOUD-74422 , which is currently in progress. cc: 8bc977c59aad  

            I saw from your internal notes you were expecting a fix 3 weeks from 19th August - is this going to be scheduled for this weekend?

            Thanks!

            Adam England added a comment - I saw from your internal notes you were expecting a fix 3 weeks from 19th August - is this going to be scheduled for this weekend? Thanks!

            Dan Olson added a comment -

            How is this not a high priority issue?  The "customer facing" confluence KB attached to JSM should be able to use this macro.  this is a major issue.  

            I too thought this was working previously and am curious if something changed recently.

            Dan Olson added a comment - How is this not a high priority issue?  The "customer facing" confluence KB attached to JSM should be able to use this macro.  this is a major issue.   I too thought this was working previously and am curious if something changed recently.

            Yeah we have repurposed "Content by Label" into related articles.

            I will be tracking this bug closely as most of our KB content is affected

            Adam England added a comment - Yeah we have repurposed "Content by Label" into related articles. I will be tracking this bug closely as most of our KB content is affected

            f4ee8ec1a852 can you help clarify what you mean related articles? Can you tell me if it's any of the following - Related Labels Macro, Related Articles on the side panel in Jira, or Related Pages section at the bottom on a Confluence page viewed in Confluence? 

            > Has something changed recently on this? 
            The fix that is mentioned on this ticket has not been released to customers yet.  

            Shangway Hsu added a comment - f4ee8ec1a852 can you help clarify what you mean related articles? Can you tell me if it's any of the following - Related Labels Macro, Related Articles on the side panel in Jira, or Related Pages section at the bottom on a Confluence page viewed in Confluence?  > Has something changed recently on this?  The fix that is mentioned on this ticket has not been released to customers yet.  

            Has something changed recently on this?  We're pretty sure our related articles have been working perfectly well for our customers on the portal, we've just had a report on the same today.

            Adam England added a comment - Has something changed recently on this?  We're pretty sure our related articles have been working perfectly well for our customers on the portal, we've just had a report on the same today.

            Hi, just to add this issue also occurs with the Content Report Macro.

            Ryan Thompson added a comment - Hi, just to add this issue also occurs with the Content Report Macro .

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

                Created:
                Updated:
                Resolved: