-
Bug
-
Resolution: Unresolved
-
Low
-
Minor
-
2
-
Issue Summary
When querying the Jira Service Desk Knowledge Base API with the search term "C 07", the results returned by the API are limited to articles with "C 07" in the title, but not in the body of the article. This is inconsistent with the behavior of the manual search on the knowledge base page, which correctly returns articles that contain "C 07" both in the title and the body.
Steps to Reproduce
- Set up a knowledge base in Jira Service Desk with articles that include:
-
- One article with "C07" in the title.
- One article with "C 07" in the title.
- One article with "C07" in the body, not the title.
- One article with "C 07" in the body, not the title.
- Make an API request to the Jira Service Desk Knowledge Base endpoint
GET https://yourtestinstance.atlassian.net/rest/servicedeskapi/servicedesk/2/knowledgebase/article?query=C+07
- Observe the API response to see the returned articles.
- Compare the API response with the search results when performing a manual search for "C 07" in the knowledge base page:
https://yourtestinstance.atlassian.net/jira/servicedesk/projects/AD2/knowledge/articles
Expected Results
The API response should return all articles that contain "C 07" either in the title or the body of the article. This should match the search results displayed when performing a manual search on the knowledge base page.
Actual Results
The API response only returns articles where "C 07" appears in the title, excluding those where it appears in the body of the article. This behavior differs from the manual search results, which correctly return articles with "C 07" in either the title or body.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available