Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-11517

Double quotes in the summary break the Knowledge base field in the issue view

    XMLWordPrintable

Details

    Description

      Issue Summary

      Note: This is so far only reproducible when a Confluence Server is linked to a Jira Service Management Cloud instance. The issue does not appear to exist when using a Cloud based Confluence instance.

      In cases where Jira Service Management Cloud is using a Confluence Server setup for its Knowledge base, the Knowledge base field on the ticket issue view is broken when double quotes are added.

      Steps to Reproduce

      1. Setup a Confluence instance within an external Server environment
      2. Use AppLinks to connect the Jira Service Management Cloud instance with the Confluence Server product per the documentation here
      3. Once linked, follow the steps outlined here to use Confluence Server as the KB
      4. Ensure that portal users are authenticated to view articles as directed here
      5. Once the configuration is complete, create a ticket in the Jira Service Management project with a summary such as This is an "EXAMPLE" ticket
      6. Bringing the ticket up in the issue view, the Knowledge Base field returns an error:
        We couldn't load your articles

      Removing the double quotes from the summary loads either recommended articles or allows for the agent/admin to search for KB articles.

      Expected Results

      Either the user is presented with matching articles or the ability to search for them. The screenshot below shows what it looks like when the double quotes are removed, however the expected behavior would be for the links to load the same with the presence of the quotes.

      Actual Results

      The user sees an error indicating We couldn't load your articles. When checking the browser DevTools, a HTTP 400 response is visible:

      Request URL: https://your-site.atlassian.net/rest/servicedesk/knowledgebase/latest/articles/EXAMPLE-123
      Request Method: GET
      Status Code: 400 
      

      Workaround

      Remove double quotes from issue summary.

      Attachments

        1. kb_broken.png
          91 kB
          Andras M.
        2. kb_working.png
          81 kB
          Andras M.

        Activity

          People

            Unassigned Unassigned
            f189ef36d400 Andras M.
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: