Comments to a problem API

The Problems—Comments API enables you to share insights related to remediation actions or additional information about possible root causes by attaching comments to detected problems. You can:

You can also manage comments at the problem overview page.

GET comments to the problem

Lists all the comments on the specified problem.

The request produces an application/json payload.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/problem/details/{problemId}/comments
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/problem/details/{problemId}/comments

POST a new comment to the problem

Adds a comments to the specified problem.

The request consumes and produces an application/json payload.

POST
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/problem/details/{problemId}/comments
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/problem/details/{problemId}/comments

PUT an update to comment to the problem

Updates an existing comment on the specified problem. A field omitted from the body remains unaffected.

The request consumes an application/json payload.

PUT
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/problem/details/{problemId}/comments/{commentId}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/problem/details/{problemId}/comments/{commentId}

DELETE a comment to the problem

Deletes an existing comment on the specified problem.

DELETE
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/problem/details/{problemId}/comments/{commentId}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/problem/details/{problemId}/comments/{commentId}