Sazabi
APIIssues

Reassign and reopen an issue

POST
/issues/{issueId}/reassign-and-reopen

Atomically reassign a resolved or ignored issue to an active component and reopen it.

Path Parameters

issueId*string

Issue ID to reassign and reopen.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/issues/497f6eca-6276-4993-bfeb-53cbbbba6f08/reassign-and-reopen" \  -H "Content-Type: application/json" \  -d '{    "targetComponentId": "f827f33c-a57f-4a69-918c-db5700f83e84"  }'
{  "issue": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",    "name": "string",    "description": "string",    "status": "open",    "severity": "low",    "componentId": "616ccd92-d666-4180-8349-8d125b269fac",    "createdAt": "2019-08-24T14:15:22Z",    "resolvedAt": "2019-08-24T14:15:22Z",    "mutedAt": "2019-08-24T14:15:22Z",    "muteHitCount": 0,    "lastActivityAt": "2019-08-24T14:15:22Z",    "lastDeliveredAt": "2019-08-24T14:15:22Z",    "locked": true,    "redacted": true  },  "sourceComponentId": "34a8b2bc-e610-4f3a-97af-c95ca8a0231c",  "targetComponentId": "f827f33c-a57f-4a69-918c-db5700f83e84"}