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

XMLWordPrintable

    • 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

            Assignee:
            Ying Wang
            Reporter:
            Swati Katta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: