List all Jira integrations

Lists the Jira integrations of Errors, with the settings of their Configure pages. Connect and remove them in Errors → Integrations

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

Query parameters

team_name
string
page
integer
per_page
integer

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"
          ]
        }
      }
    }
  ],
  "pagination": {
    "first": "https://errors.betterstack.com/api/v1/jira-integrations?page=1",
    "last": "https://errors.betterstack.com/api/v1/jira-integrations?page=1",
    "prev": null,
    "next": null
  }
}
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"
}

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
pagination.first
string
pagination.last
string
pagination.prev
string or null
pagination.next
string or null

Example cURL

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