Skip to main content
PATCH
Change the Jira 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.

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 version this call reads is used, so a change saved between that read and this write is still a 409: read again and retry

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

Default field mappings

project_keys
string[] | null

The projects to sync, from /projects

Pattern: ^[A-Z][A-Z0-9]{1,49}$
project_rules
ProjectRule · object[] | null

At least one rule for each project in project_keys; see GET /config for the shape

site_base_url
string | null

The Jira site for the links (see /site-url)

Maximum string length: 2048

Write each issue's link onto its task

Response

200 - application/json

Successful Response

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

field_whitelist
Field Whitelist · object
required

Default field mappings for every project

project_keys
string[]
required

The Jira projects that sync

project_rules
Project Rules · object[]
required

Per project: its type, how an issue finds its account, issue-type filters and field mappings

site_base_url
string | null
required

The Jira site the issue links point to

Write each issue's Jira link onto its task

version
integer
required

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

sync
JiraFirstSyncs · object | null

Set by a change: the first syncs it started