Get a single Jira integration

Returns a single Jira integration with the settings of its Configure page.

GET https://errors.betterstack.com/api/v1/jira-integrations/{id}

URL parameters

id
required string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "31174",
    "type": "jira_integration",
    "attributes": {
      "team_id": "t123456",
      "team_name": "My team",
      "applications": [
        {
          "application_id": 1234,
          "environments": []
        }
      ],
      "notifications": {
        "spikes": false,
        "new_errors": false,
        "automatically_reopened": false,
        "occurrence_milestones": false,
        "occurrence_threshold": false,
        "affected_users_threshold": true
      },
      "occurrence_threshold_count": 10,
      "occurrence_threshold_interval": "minute",
      "affected_users_threshold_count": 25,
      "tag_filter": [],
      "name": "Ops errors",
      "jira_site_url": "https://example.atlassian.net",
      "jira_project_key": "OPS",
      "jira_issue_type_id": "10002",
      "jira_fields": {
        "labels": [
          "errors"
        ]
      }
    }
  }
}
401

Response body

{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/logs/api/getting-started/#obtaining-a-logtail-api-token"
}
404

Response body

{
  "errors": "Resource with the provided ID was not found"
}

Response attributes

id
string
type
string
attributes.team_id
string
attributes.team_name
string
attributes.applications
array of objects
attributes.applications[].application_id
integer
attributes.applications[].environments
array of strings
attributes.notifications
object
attributes.notifications.spikes
boolean
attributes.notifications.new_errors
boolean
attributes.notifications.automatically_reopened
boolean
attributes.notifications.occurrence_milestones
boolean
attributes.notifications.occurrence_threshold
boolean
attributes.notifications.affected_users_threshold
boolean
attributes.occurrence_threshold_count
integer
attributes.occurrence_threshold_interval
string
attributes.affected_users_threshold_count
integer
attributes.tag_filter
array of objects
attributes.tag_filter[].tag
string
attributes.tag_filter[].values
array of strings
attributes.name
string
attributes.jira_site_url
string
attributes.jira_project_key
string
attributes.jira_issue_type_id
string
attributes.jira_fields
object

Example cURL

Example
curl --request GET \
  --url https://errors.betterstack.com/api/v1/jira-integrations/31174 \
  --header "Authorization: Bearer $TOKEN"