Sazabi
APITask status mapping

List the tracker states a mapping row may take

The connection's default team (Linear), project (Jira) or repository (GitHub), its workflow states, and the tracker's resolutions where it has them, read live from the tracker.

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

GET
/task-status-mapping/options

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/options?provider=linear"
{  "provider": "linear",  "teamId": "string",  "teamName": "string",  "states": [    {      "ref": "string",      "name": "string",      "category": "open"    }  ],  "resolutions": [    {      "ref": "string",      "name": "string"    }  ],  "automaticResolutions": {    "resolved": {      "ref": "string",      "name": "string"    },    "ignored": {      "ref": "string",      "name": "string"    }  }}