URL parameters
The ID of the Jira integration, the number in the URL of its Configure page.
Headers
Bearer $TOKEN
application/json
Body parameters
The applications whose errors the integration handles, replacing the whole list. Each is an object with the application_id of an error tracking application in the integration's team and optionally its environments, a list of environment names where empty or left out means every environment. Send [] for any application.
The Automatic work item creation toggles to change, as booleans. Toggles you leave out keep their value. The keys are spikes, new_errors, automatically_reopened, occurrence_milestones, occurrence_threshold, affected_users_threshold.
How many occurrences within occurrence_threshold_interval trigger notifications.occurrence_threshold. A positive whole number.
The interval of the occurrence threshold: minute, hour, day, or week.
How many affected users in total trigger notifications.affected_users_threshold. A positive whole number.
Only create work items for errors where at least one exception has every tag listed, with one of its values, replacing the whole list. Each row is an object with a tag and its values, a list of strings. Use a tag once, at most 10 rows, 50 values per tag and 200 characters per tag or value. Send [] for every error.
The name that identifies the integration in Better Stack.
The key of the Jira space work items are created in. A new space needs jira_issue_type_id in the same request, and clears jira_fields unless the request sets them. The space, work type and fields can't change until Jira is connected, or while its authorization has expired.
The ID of the Jira work type new work items get. Can't be empty.
The values of other Jira fields new work items get, keyed by Jira field ID, replacing the whole object. To see the IDs and value shapes, fill the fields in on the Configure page once and read them back with a GET.