Skip to content
dimmiDocs

Workflows and integrations

Update a tool's sync settings

PATCH/api/v1/integration-installations/{installation}/issue-settings

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the settings:write ability

Path parameters

installationstringrequired

Id of the connected tool, starting with itg_, such as itg_01jx2m8k4t. Find it with GET /integrations.

Body

application/json
deploy_environmentstring

The GitHub environment whose successful deployments count as a fix shipped, by name from the "environments" list of the repository, such as "production". Empty means any environment of the deploy repository.

Maximum length: 200

deploy_repositorystring

The GitHub repository whose successful deployments mark done issues as shipped, as owner/name from the tool's "teams" list, such as "acme/api". Empty turns this off.

Maximum length: 200

from_emailstring

An email address, such as support@example.com.

Maximum length: 320

impact_field_idstring

Id of the ticket field, starting with tktf_, such as tktf_01jx2m8k4t. Find it with GET /ticket-types/{type}/fields.

Maximum length: 200

project_idstring

The default for new issues when none is picked: an id from the tool's "projects" list for the team, a Linear project or a Jira issue type, such as "10001". Empty clears it.

Maximum length: 200

service_idstring

The default service new incidents are raised on when none is picked: an id from the tool's "services" list, such as "PABC123". Empty clears it.

Maximum length: 200

severity_idstring

The default severity new incidents are declared with when none is picked: an id from the tool's "severities" list. Empty clears it.

Maximum length: 200

signing_secretstring

The signing secret, as text. It is stored encrypted and never shown again.

Maximum length: 500

statesobject

A JSON object mapping the tool's status ids, from its "states" list, to the dimmi ticket state a ticket moves to, such as {"started": "tkts_01hzy3v8k2m4n6p8q0r2s4t6v8"}. It replaces the whole mapping; an empty value drops that status.

team_idstring

Id of the team, starting with team_, such as team_01jx2m8k4t. Find it with GET /teams.

Maximum length: 200

Response 200

OK
dataobjectrequired
Show child attributes
deploy_environmentstringrequired

The deployment environment that counts as shipped, such as production. Empty means any environment of the repository.

deploy_repositorystringrequired

The repository whose successful deployments prove a fix shipped. Empty when not set.

from_emailstringrequired

The email address dimmi acts as when it calls the tool, used by PagerDuty. Empty when not set.

has_signing_secretbooleanrequired

True when the secret that signs the tool's deliveries has been saved.

impact_field_idstringrequired

Id of the tool's field where dimmi writes how many customers an incident reaches. Empty when not set.

installation_idstringrequired

Id of the installation these settings belong to, starting with itg_.

needs_signing_secretbooleanrequired

True when this tool needs a signing secret pasted before its deliveries can be trusted.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

project_idstringrequired

The tool's id of the project new issues go to by default. Empty when not set.

providerstringrequired

The tool these settings are for, such as linear, jira or github.

service_idstringrequired

The tool's id of the service new incidents go to by default. Empty when not set.

severity_idstringrequired

The tool's id of the severity new incidents get by default. Empty when not set.

statesobjectrequired

Which dimmi ticket state each of the tool's statuses maps to: keys are the tool's status ids, values are state ids starting with tkts_.

team_idstringrequired

The tool's id of the team new issues go to by default. Empty when not set.

webhook_urlstringrequired

The address to give the tool so it delivers its updates to dimmi.

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.