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 dedicatedopensre integrations setup jira command today. Configure Jira through the onboarding wizard, environment variables, or the persistent store.
Option 1: Onboarding wizard
/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
- Go to id.atlassian.com/manage-profile/security/api-tokens
- Click Create API token
- Give it a label (for example
opensre) - Copy the token
For Jira Data Center/Server, use a personal access token from Profile → Personal Access Tokens instead.
Investigation tools
project_key is required for create (from config or the tool call).
Verify
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.jsonor a secret manager — not in source control. - Rotate the API token periodically.