JSM GET article API is not providing excerpt/title highlight

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      JSM GET article API is not providing excerpt and title highlight in the response body when performing an exact phrase search containing single or multiple words.

      Endpoint: https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-servicedeskid-knowledgebase-article-get

      Steps to Reproduce

      Scenario 1:

      1. Create a Service Desk (using a template, for example) on JSM.
      2. Create a Knowledge Base and connect to a Confluence Space or create a new space.
      3. Create a test page with words that you want to perform a search on.
      4. Using the API endpoint, send a request and use "highlight=true".
      5. The response should highlight the title and excerpt with "@@@hl@@@term@@@endhl@@@".
      6. However, this won't happen, example below searching for the word "change", note that neither the title nor the excerpt has the highlight syntax:

      Expected Results

      JSM search API should highlight the keyword in the title or body, irrespective of the type of search.

      Obs: The search itself works.

      Actual Results

      JSM search API does not highlight when performing an exact phrase search containing single or multiple words.

      Similar to the following bug on Confluence Cloud: https://jira.atlassian.com/browse/CONFCLOUD-71411

      However, on Confluence Cloud, single-word searches, the highlight work as expected

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Pablo Machado
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: