Skip to main content
PATCH
Change the Linear config

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Body

application/json

Only the settings you send change; the rest stay. null puts a setting back to its default (empty).

customer_resolution
AccountResolverConfig · object[] | null

Default resolver chain: how an issue finds its account, tried in order. Empty: such issues are skipped

expected_version
integer | null

The config version you read. Sent: a change against a version that is no longer live is a 409 and writes nothing (0 = the config was never saved). Left out, the change always lands

Required range: x >= 0
field_whitelist
LinearFieldWhitelist · object | null

Default field mappings: a Linear issue field (a path from /fields) onto an existing Statisfy field key

project_ids
string[] | null

The Linear project ids to sync, from /projects

Required string length: 1 - 200
project_rules
LinearProjectRule · object[] | null

Per-project overrides. The first active rule for an issue's project wins

status_mappings
LinearStatusMapping · object[] | null

Overrides of the status group for a project's workflow state (from /workflow-states)

Response

200 - application/json

Successful Response

Linear's settings, as saved. Each setting has the shape that PATCH /config takes.

customer_resolution
Customer Resolution · object[]
required

Default resolver chain, tried in order

field_whitelist
Field Whitelist · object
required

Default field mappings: account_field_mappings, task_field_mappings

project_ids
string[]
required

The Linear project ids that sync

project_rules
Project Rules · object[]
required

Per-project overrides; the first active rule wins

status_mappings
Status Mappings · object[]
required

Status group overrides by project and workflow state

version
integer
required

The config's version: send it as expected_version with a change (0 = never saved)