Get a Jira integration

Get a Jira integration and how it creates Jira issues for your incidents.

GET https://incidents.betterstack.com/api/v2/jira-integrations/{id}
id string required

The ID of the Jira integration to get.

team_id string

Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.

Authorization string required

Bearer $TOKEN

200

Returns the Jira integration.

200 OK
{
  "data": {
    "id": "123456789",
    "type": "jira_integration",
    "attributes": {
      "name": "Incident tickets",
      "automatic_issue_creation": true,
      "jira_project_key": "OPS",
      "jira_issue_type_id": "10006",
      "jira_fields": {
        "labels": [
          {
            "label": "outage",
            "value": "outage"
          }
        ],
        "assignee": {
          "label": "John Doe",
          "value": "5b10ac8d82e05b22cc7d4ef5"
        }
      },
      "team_id": "t123",
      "team_name": "Production"
    }
  }
}
401

The API token is missing or invalid.

401 Unauthorized
{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
403

Your role doesn't include View past performance, uptime, and response times on Monitors, heartbeats, integrations, or the token can't be used for this API.

404

The Jira integration doesn't exist, or the token can't access it.

id string

The ID of the Jira integration.

type string

Always jira_integration.

name string or null

Integration name. null while the integration is still being connected.

automatic_issue_creation boolean

Whether to create a Jira issue for every incident automatically.

jira_project_key string or null

Key of the Jira project that issues are created in. Get the key from your Jira issue keys, such as ABC in ABC-123. A key that isn't found is refused, and the error lists the available keys.

jira_issue_type_id string or null

ID of the Jira issue type for created issues. Get the ID via the Get issue types for project endpoint of Jira's REST API.

jira_fields object

Extra Jira fields to set on created issues, keyed by Jira field ID. Set the integration up in the app, then use the jira_fields from Get a Jira integration as a template. Each value has the shape of its Jira field type. A list field such as labels accepts a list of {label, value} objects, for example {"labels": [{"label": "outage", "value": "outage"}]}. A text field accepts a string, for example {"customfield_10042": "Checkout"}. A user, team or parent field accepts one {label, value} object, and a single-select or priority field the option's ID as a string. A number field accepts a number, and a date picker field an ISO 8601 time such as 2026-12-01T09:00:00Z.

team_id string

Team that owns this integration, such as t123.

team_name string

Name of the team that owns this integration.

Example cURL

Get a Jira integration
curl --request GET \
  --url https://incidents.betterstack.com/api/v2/jira-integrations/13760 \
  --header "Authorization: Bearer $TOKEN"