Skip to main content

Login to JIRA

Endpoint

/i/crashes-jira?method=login

Enterprise Only
This API is available exclusively in Countly Enterprise.

Overview

Starts OAuth 1.0a authorization with JIRA and redirects to JIRA authorization page.

Authentication

  • Authentication methods:
    • API Key (parameter): api_key=YOUR_API_KEY
    • Auth Token (parameter): auth_token=YOUR_AUTH_TOKEN
    • Auth Token (header): countly-token: YOUR_AUTH_TOKEN

Permissions

  • Requires global admin access.

Request Parameters

ParameterTypeRequiredDescription
methodStringYesMust be login
pretty_callbackStringNoUse yes to make callback redirect to /crashes-jira/login_callback UI page
api_keyStringYes (or auth_token)API key authentication
auth_tokenStringYes (or api_key)Auth token authentication

Configuration Impact

SettingDefaultAffectsUser-visible impact
crashes-jira.*Crashes Jira integration defaultsJira integration logic and synchronization behavior.Changes to Jira integration settings can alter authentication, sync behavior, and returned integration state.

Response

Success Response

On success, endpoint responds with redirect (302) to JIRA authorize URL:

{
"result": "Redirect to JIRA authorization"
}

Response Fields

FieldTypeDescription
resultStringConceptual success message for docs; actual response is HTTP redirect

Error Responses

HTTP StatusResponse
500{ "result": "Failed to generate oauth object: ..." }
500{ "result": "Failed to retrieve oauth token: ..." }
500{ "result": "Failed to store oauth token: ..." }

Behavior/Processing

  1. Reads global crashes-jira config (api_url, api_consumer_key, client_private_key, callback_url).
  2. Creates temporary OAuth request token and stores it in countly.crashes_jira (_id: "meta").
  3. Redirects to JIRA OAuth authorization endpoint.

Database Collections

CollectionUsed forData touched by this endpoint
countly.crashes_jiraEndpoint data sourceStores endpoint-related records this endpoint reads or modifies.

Examples

Example 1: Start OAuth login flow

/i/crashes-jira?method=login&pretty_callback=yes&api_key=YOUR_API_KEY

Ⓔ Enterprise

This feature is part of Countly Enterprise.

Get Access:

Already a Customer? Use support portal if you have any questions


Last Updated

2026-02-16