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

            jhaloot made changes -
            Workflow Original: JAC Bug Workflow v3 [ 4132259 ] New: JAC Bug Workflow v4 [ 4541150 ]
            SET Analytics Bot made changes -
            Support reference count New: 1
            pqz (Inactive) made changes -
            Component/s Original: Search - Indexing [ 46493 ]
            Component/s New: Search - Indexing [ 75295 ]
            Key Original: CONFCLOUD-72308 New: AI-227
            QA Demo Status Original: Not Done [ 14330 ]
            QA Kickoff Status Original: Not Done [ 14234 ]
            Project Original: Confluence Cloud [ 18513 ] New: Atlassian Intelligence [ 23110 ]
            nmcginley made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 853203 ]
            Saravana Gupta Ravindran made changes -
            Assignee New: Ying Wang [ ywang2@atlassian.com ]
            Kateryna Barmina made changes -
            Labels New: API NMI14
            David Rizzuto made changes -
            Status Original: Needs Triage [ 10030 ] New: Long Term Backlog [ 12073 ]
            samyak (Inactive) made changes -
            Component/s New: Search - Indexing [ 46493 ]
            Component/s Original: Search - Core [ 46383 ]
            samyak (Inactive) made changes -
            Status Original: Long Term Backlog [ 12073 ] New: Needs Triage [ 10030 ]
            samyak (Inactive) made changes -
            Status Original: Needs Triage [ 10030 ] New: Long Term Backlog [ 12073 ]

              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: