Skip to main content
PATCH
Change the status mapping

Body

application/json
provider
enum<string>
required

Task tracker whose connection holds the mapping.

Available options:
linear,
jira,
github
organizationId
string

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

Minimum string length: 1
connectionId
string

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

Minimum string length: 1
enabled
boolean

Turn the mapping on or off.

mapping
object

Rows to change: a tracker state ref, or null to empty the row. An omitted row keeps its state. Two rows may pick the same state only where their resolutions tell them apart.

resolvedResolution
string | null

Jira only: the resolution ref a Resolved move closes with, or null to let the automatic done resolution decide. Refused while the Resolved row names a status that is not done-type.

Minimum string length: 1
ignoredResolution
string | null

Jira only: the resolution ref an Ignored or Rejected move closes with, or null to let the tracker's first canceling resolution decide.

Minimum string length: 1

Response

200 - application/json

OK

provider
enum<string>
required

Task tracker whose connection holds the mapping.

Available options:
linear,
jira,
github
enabled
boolean
required

Whether status flows between the issue and its task, in both directions.

teamId
string | null
required

The tracker container (Linear team, Jira project, GitHub repository) whose states the rows name; null until a default is set.

mapping
object
required

One row per Sazabi status; an empty row syncs nothing in either direction.

resolvedResolution
object | null
required

The resolution a Resolved move closes the task with, for a tracker that keeps a reason on closed tickets (Jira). Null picks the automatic done resolution at push time ("Done", else "Fixed", else "Resolved", else the first that does not cancel); always null for a tracker without resolutions.

ignoredResolution
object | null
required

The resolution an Ignored or Rejected move closes the task with, for a tracker that keeps canceled in a resolution (Jira). Null picks the tracker's first canceling resolution at push time; always null for a tracker without resolutions.