Skip to content

Update Jira mapping and thresholds

PUT
/v1/integrations/jira/config
curl --request PUT \
--url https://api.monita.ai/v1/integrations/jira/config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "cloudId": "example", "defaultProjectKey": "example", "issueType": "example", "minSeverity": "low", "autoCreate": true, "projectMappings": { "additionalProperty": "example" } }'
Media typeapplication/json
object
cloudId
string
defaultProjectKey
string
issueType
string
>= 1 characters <= 50 characters
minSeverity
string
Allowed values: low medium high critical
autoCreate
boolean
projectMappings
object
key
additional properties
string

OK

Media typeapplication/json
object
ok
required
boolean
status
required
string
Examplegenerated
{
"ok": true,
"status": "example"
}

Unknown site

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Not connected

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}