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

When viewing knowledge base in Confluence as a portal only customer, the page throws error if there is 'Content by label' macro in the page.

    • 3
    • 4
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    • Jira Service Management

      Issue Summary

      When viewing knowledge base in Confluence as a portal only customer, the page throws error if there is 'Content by label' macro in the page.

      Steps to Reproduce

      1. Link confluence space to JSM project https://support.atlassian.com/jira-service-management-cloud/docs/link-confluence-spaces-to-your-service-project/
      2. Create a portal only customer Atlassian Account with no product access and no group access, and invite this portal only customer to the JSM project.
      3. As a space admin of Confluence space, add a 'Content by Label' macro to a page.
      4. View the page in Confluence (not in JSM portal) as the portal only customer.

      Expected Results

      The 'Content by Label' macro is rendered in the Confluence page.

      Actual Results

      The 'Content by Label' macro throws render error message in Confluence page:

      Error rendering macro 'contentbylabel' : CQL was parsed but the search manager was unable to execute the search. CQL: 'label = "foo"'. 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
      

      When viewed in JSM Portal, the macro renders successfully:

      Workaround

      None, the portal only customers will need to view from JSM Portal if the page has 'Content by Label' macro in it.

            [AI-1149] When viewing knowledge base in Confluence as a portal only customer, the page throws error if there is 'Content by label' macro in the page.

            Dan Brown added a comment -

            Duplicate of AI-918.

            Dan Brown added a comment - Duplicate of AI-918 .

            Jan Surin added a comment -

            Hello, the issue is still active, when we can expect remedition?

            Thanks,

            BR,

            Honza

            Jan Surin added a comment - Hello, the issue is still active, when we can expect remedition? Thanks, BR, Honza

            Confirming @Thomas. The macro is working in customer portal for my publicly published space now. Love to know if that's going to stick or will stop again.

            Randall Robertson added a comment - Confirming @Thomas. The macro is working in customer portal for my publicly published space now. Love to know if that's going to stick or will stop again.

            Thomas added a comment -

            Today, we found that the macro is now working (with no changes made to the confluence page). Multiple customers have confirmed this.
            This could be a side-effect of another fix/change, and I do not expect this to persist.

            It would be great if someone could confirm the current status for this bug.

            Thanks, Thomas

            Thomas added a comment - Today, we found that the macro is now working (with no changes made to the confluence page). Multiple customers have confirmed this. This could be a side-effect of another fix/change, and I do not expect this to persist. It would be great if someone could confirm the current status for this bug. Thanks, Thomas

            Our portal customers do not see the error message, but we do get an empty macro with an improperly formatted message saying "There is no content with the specified labels".

            What portal customers see:

            What licensed users see in the portal:

            Randall Robertson added a comment - Our portal customers do not see the error message, but we do get an empty macro with an improperly formatted message saying "There is no content with the specified labels". What portal customers see: What licensed users see in the portal:

              Unassigned Unassigned
              4326607df174 Yuji Sakai (Inactive)
              Votes:
              22 Vote for this issue
              Watchers:
              26 Start watching this issue

                Created:
                Updated:
                Resolved: