Skip to content

[Cases] Get case's comments by using the non legacy APIs in the UI #194290

Open

Description

The Cases UI uses the includeComments query parameter, which is deprecated. In 9.0, the query parameter will be removed. We need to update the Cases UI to use the GET /api/cases/{case_id}/comments/_find endpoint to get the comments of the case. By using the includeComments query parameter, all comments were returned with the Case. This can lead to performance issues if the case has a lot of comments. Given that we do not render all comments at once and there is pagination in place, we should apply a similar fetching strategy as we did with the user actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Feature:CasesCases featureTeam:ResponseOpsLabel for the ResponseOps team (formerly the Cases and Alerting teams)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions