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

GET /wiki/rest/api/search response sometimes does not have title field while searching for drafts

    • 1
    • Severity 3 - Minor

      Issue Summary

      Search API is returning no title field while searching for drafts via JSD

      Steps to Reproduce

      1. Hit /wiki/rest/api/search API with drafts query for tenant: 18b9825d-ef40-4d5a-8fed-091769d6a247

      Expected Results

      title should be in the response

      Actual Results

      No title in response

      Error on JSD side due to this
      MappableException: javax.ws.rs.client.ResponseProcessingException: com.fasterxml.jackson.databind.exc.ValueInstantiationException: Cannot construct instance of `com.atlassian.servicedesk.apollo.knowledge.confluence.ImmutableConfluenceSearchContent`, problem: Cannot build ConfluenceSearchContent, some of required attributes are not set [title] at [Source: UNKNOWN; line: 1, column: 14141] (through reference chain: com.atlassian.servicedesk.apollo.knowledge.confluence.response.ImmutableConfluenceSearchResponse$Json["results"]>java.util.ArrayList[7]>com.atlassian.servicedesk.apollo.knowledge.confluence.ImmutableConfluenceSearchResult$Json["content"])

      Workaround

      No workaround

            [AI-227] GET /wiki/rest/api/search response sometimes does not have title field while searching for drafts

            There are no comments yet on this issue.

              ywang2@atlassian.com Ying Wang
              skatta@atlassian.com Swati Katta
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated: