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

            pqz made changes -
            Component/s Original: XP - Content Search [ 61005 ]
            Component/s Original: Integrations - Jira [ 46374 ]
            Component/s New: XP - Content Search [ 75299 ]
            Component/s New: Admin Experience [ 74216 ]
            Key Original: CONFCLOUD-74308 New: AI-873
            QA Demo Status Original: Not Done [ 14330 ]
            QA Kickoff Status Original: Not Done [ 14234 ]
            Support reference count Original: 6
            Project Original: Confluence Cloud [ 18513 ] New: Atlassian Intelligence [ 23110 ]
            Rebekkah Dorhout made changes -
            Component/s Original: jira-integrations [ 69994 ]
            Peter Obara made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 789209 ]
            Peter Obara made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 788052 ]
            Peter Obara made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 788131 ]
            Peter Obara made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 788052 ]
            Shangway Hsu made changes -
            Description Original: h3. Issue Summary

            While it is possible to display pages with a chosen label in the page by using the [Content by Label macro|https://support.atlassian.com/confluence-cloud/docs/insert-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{*})

            {color:#ff8b00}Macros covered in this ticket - Live Search, Content by Label, Recently Updated, Page Properties Report, Content Properties Report{color}
            h3. Steps to Reproduce
             # Create a page in Confluence and add a label to it e.g: test
             # Create another page and add the [Content by Label macro|https://support.atlassian.com/confluence-cloud/docs/insert-the-content-by-label-macro/] to the page, filter by the label "test" created
             # Make sure for the space and site to not be open to anonymous users
             # Open the site and space to anonymous users or create a link with a knowledge base and open to *unlicensed users*
             # 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

            h3. Expected Results

            Portal accounts (customer accounts & unlicensed users) only should be able to see the content by label info
            h3. 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:
            {code:java}
            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 {code}
            If the site is open to anonymous users, but the space is closed for anonymous users, the content by label shows blank instead:
            !content_label.png|width=596,height=176!
            h3. 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.
            New: h3. Issue Summary

            While it is possible to display pages with a chosen label in the page by using the [Content by Label macro|https://support.atlassian.com/confluence-cloud/docs/insert-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{*})

            {color:#ff8b00}Macros covered in this ticket - Live Search, Content by Label, Recently Updated, Page Properties Report, Content Properties Report.  {color}{color:#ff8b00}All other macros should be filed in a new ticket{color}
            h3.  
            h3. Steps to Reproduce
             # Create a page in Confluence and add a label to it e.g: test
             # Create another page and add the [Content by Label macro|https://support.atlassian.com/confluence-cloud/docs/insert-the-content-by-label-macro/] to the page, filter by the label "test" created
             # Make sure for the space and site to not be open to anonymous users
             # Open the site and space to anonymous users or create a link with a knowledge base and open to *unlicensed users*
             # 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

            h3. Expected Results

            Portal accounts (customer accounts & unlicensed users) only should be able to see the content by label info
            h3. 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:
            {code:java}
            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 {code}
            If the site is open to anonymous users, but the space is closed for anonymous users, the content by label shows blank instead:
            !content_label.png|width=596,height=176!
            h3. 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.
            Shangway Hsu made changes -
            Description Original: h3. Issue Summary

            While it is possible to display pages with a chosen label in the page by using the [Content by Label macro|https://support.atlassian.com/confluence-cloud/docs/insert-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{*})
            h3. Steps to Reproduce
             # Create a page in Confluence and add a label to it e.g: test
             # Create another page and add the [Content by Label macro|https://support.atlassian.com/confluence-cloud/docs/insert-the-content-by-label-macro/] to the page, filter by the label "test" created
             # Make sure for the space and site to not be open to anonymous users
             # Open the site and space to anonymous users or create a link with a knowledge base and open to *unlicensed users*
             # 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

            h3. Expected Results

            Portal accounts (customer accounts & unlicensed users) only should be able to see the content by label info
            h3. 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:
            {code:java}
            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 {code}
            If the site is open to anonymous users, but the space is closed for anonymous users, the content by label shows blank instead:
            !content_label.png|width=596,height=176!
            h3. 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.
            New: h3. Issue Summary

            While it is possible to display pages with a chosen label in the page by using the [Content by Label macro|https://support.atlassian.com/confluence-cloud/docs/insert-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{*})

            {color:#ff8b00}Macros covered in this ticket - Live Search, Content by Label, Recently Updated, Page Properties Report, Content Properties Report{color}
            h3. Steps to Reproduce
             # Create a page in Confluence and add a label to it e.g: test
             # Create another page and add the [Content by Label macro|https://support.atlassian.com/confluence-cloud/docs/insert-the-content-by-label-macro/] to the page, filter by the label "test" created
             # Make sure for the space and site to not be open to anonymous users
             # Open the site and space to anonymous users or create a link with a knowledge base and open to *unlicensed users*
             # 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

            h3. Expected Results

            Portal accounts (customer accounts & unlicensed users) only should be able to see the content by label info
            h3. 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:
            {code:java}
            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 {code}
            If the site is open to anonymous users, but the space is closed for anonymous users, the content by label shows blank instead:
            !content_label.png|width=596,height=176!
            h3. 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.
            Jake Strauss made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 682875 ]
            Shangway Hsu made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Closed [ 6 ]

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

                Created:
                Updated:
                Resolved: