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
- API Key (parameter):
Permissions
- Requires global admin access.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
method | String | Yes | Must be login |
pretty_callback | String | No | Use yes to make callback redirect to /crashes-jira/login_callback UI page |
api_key | String | Yes (or auth_token) | API key authentication |
auth_token | String | Yes (or api_key) | Auth token authentication |
Configuration Impact
| Setting | Default | Affects | User-visible impact |
|---|---|---|---|
crashes-jira.* | Crashes Jira integration defaults | Jira 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
| Field | Type | Description |
|---|---|---|
result | String | Conceptual success message for docs; actual response is HTTP redirect |
Error Responses
| HTTP Status | Response |
|---|---|
| 500 | { "result": "Failed to generate oauth object: ..." } |
| 500 | { "result": "Failed to retrieve oauth token: ..." } |
| 500 | { "result": "Failed to store oauth token: ..." } |
Behavior/Processing
- Reads global
crashes-jiraconfig (api_url,api_consumer_key,client_private_key,callback_url). - Creates temporary OAuth request token and stores it in
countly.crashes_jira(_id: "meta"). - Redirects to JIRA OAuth authorization endpoint.
Database Collections
| Collection | Used for | Data touched by this endpoint |
|---|---|---|
countly.crashes_jira | Endpoint data source | Stores 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
Related Endpoints
Ⓔ 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