Skip to main content

Overview

OpenSRE connects to Jira to create incident tickets, update existing issues, and add investigation findings as comments — keeping your team’s workflow in sync with automated investigations.

Prerequisites

  • Jira Cloud account (Jira Server/Data Center also supported)
  • API token and project access

Setup

There is no dedicated opensre integrations setup jira command today. Configure Jira through the onboarding wizard, environment variables, or the persistent store.

Option 1: Onboarding wizard

Select Jira when prompted and provide your base URL, email, API token, and project key. The wizard validates with a live /myself call and project check, then stores the config (it does not write JIRA_* env vars).

Option 2: Environment variables

Option 3: Persistent store

Add to ~/.opensre/integrations.json:

Credentials

Creating a Jira API token

  1. Go to id.atlassian.com/manage-profile/security/api-tokens
  2. Click Create API token
  3. Give it a label (for example opensre)
  4. Copy the token
For Jira Data Center/Server, use a personal access token from ProfilePersonal Access Tokens instead.
Auth uses REST API v3 with Basic auth (email + API token). Issue descriptions use Atlassian Document Format (ADF) on create.

Investigation tools

project_key is required for create (from config or the tool call).

Verify

Expected output on success:
CLI verify is a configuration-presence check (base_url, email, and api_token are all set) rather than a live API call. The onboard wizard performs a live validation when you configure interactively.

Troubleshooting

Security

  • Use a dedicated Jira user for OpenSRE with only the permissions it needs (create and comment on issues).
  • Prefer storing credentials in ~/.opensre/integrations.json or a secret manager — not in source control.
  • Rotate the API token periodically.