Skip to main content
POST
POST /v1/tasks/{id}/resolve

Change Incident Status

Change an incident’s status by applying a transition to its task. The incident ID is the task ID. POST /v1/tasks/{id}/resolve
string
required
UUID of the incident task.

Body Parameters

The request body accepts these fields:
string
The transition to apply: ack, assign, reassign, new, or resolve. Read the incident’s availableTransitions to see which are valid right now.
string
Required when you resolve. Use Completed.
string
Comment to add. Required for resolve.
object
Data the transition needs. See the examples that follow.
You must send at least transitionId or resolutionType. OpenMetadata rejects an empty body.

Acknowledge an Incident

To acknowledge an incident, send the ack transition.
POST /v1/tasks/{id}/resolve

Assign or Reassign an Incident

Use assign when the incident isn’t yet assigned, and reassign when its stage is already assigned. Pass the new assignees in payload.assignees as entity references.

Resolve an Incident

Resolving requires a comment and a failure reason in payload.testCaseFailureReason: FalsePositive, MissingData, Duplicates, OutOfBounds, or Other.

Reopen an Incident

A resolved incident has no available transitions. To reopen it, post an Ack or Assigned status to the test case incident status endpoint. OpenMetadata reopens the same incident task. POST /v1/dataQuality/testCases/testCaseIncidentStatus
To start a fresh incident in the new stage instead, as the Incident Manager does, create a task for the test case with POST /v1/tasks:

Add Comments, Change Severity, and Close an Incident

  • Comments: POST /v1/tasks/{id}/comments adds a comment to the incident.
  • Severity: PATCH /v1/dataQuality/testCases/testCaseIncidentStatus/{id} updates severity (Severity1 to Severity5) on a status record. OpenMetadata accepts patches only to severity, updatedAt, and updatedBy.
  • Close without resolving: POST /v1/tasks/{id}/close cancels the task. Only the creator or an assignee can close it. For incidents, use resolve instead.

Change Status With the Legacy Endpoint

Status changes through POST /v1/dataQuality/testCases/testCaseIncidentStatus still work. OpenMetadata applies each write to the incident task, so existing clients keep working. Ack maps to the ack transition, Assigned to assign or reassign, and Resolved to resolve.
The Python SDK supports this form through create_test_case_resolution. For new code, prefer the task transitions.

Errors

The endpoint can return these errors: