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
Query Parameters
organizationId?string
Organization whose tracker connection holds the mapping. Auto-filled from CLI and SDK context when omitted.
Length
1 <= lengthprovider*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.
Length
1 <= lengthResponse 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" } }}