Sazabi
APITask status mapping

Get the status mapping

The toggle, the team whose states the rows name, and the three rows (Open, Resolved, Ignored), each a tracker state or empty.

GET https://api.sazabi.com/v1/task-status-mapping

GET
/task-status-mapping

Query Parameters

organizationId?string

Organization whose tracker connection holds the mapping. Auto-filled from CLI and SDK context when omitted.

Length1 <= length
provider*string

Task tracker whose connection holds the mapping.

Value in

  • "linear"
  • "jira"
  • "github"
connectionId?string

The tracker connection holding the mapping. Defaults to the organization's live connection for the provider. GitHub may have one per installation.

Length1 <= length

Response Body

application/json

curl -X GET "https://example.com/task-status-mapping?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"  }}