Change the status mapping
Turn the mapping on or off, set or empty any of the three rows, and on Jira pick the resolution a Resolved or an Ignored move closes with. Requires settings:write on the organization.
PATCH https://api.sazabi.com/v1/task-status-mapping
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/task-status-mapping" \ -H "Content-Type: application/json" \ -d '{ "provider": "linear" }'{ "provider": "linear", "enabled": true, "teamId": "string", "mapping": { "open": { "stateRef": "string", "name": "string" }, "resolved": { "stateRef": "string", "name": "string" }, "ignored": { "stateRef": "string", "name": "string" } }, "resolvedResolution": { "ref": "string", "name": "string" }, "ignoredResolution": { "ref": "string", "name": "string" }}