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.Documentation Index
Fetch the complete documentation index at: https://opensre.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Jira Cloud account (Jira Server/Data Center also supported)
- API token and project access
Setup
Option 1: Interactive CLI
Option 2: Persistent store
Add to~/.config/opensre/integrations.json:
| Field | Description |
|---|---|
base_url | Required. Your Jira instance URL (e.g., https://your-org.atlassian.net) |
email | Required. Email address associated with the API token |
api_token | Required. Jira API token |
project_key | Required. Default project key for new issues (e.g., OPS, SRE) |
Creating a Jira API token
- Go to id.atlassian.com/manage-profile/security/api-tokens
- Click Create API token
- Give it a label (e.g.,
opensre) - Copy the token
For Jira Data Center/Server, use a personal access token from Profile → Personal Access Tokens instead.
Troubleshooting
| Symptom | Fix |
|---|---|
| 401 Unauthorized | Check email and API token combination |
| 404 Not Found | Verify base_url (include https://) and project_key |
| 403 Forbidden | The user may lack permission to create issues in the project |
Security best practices
- Use a dedicated Jira user for OpenSRE with only the permissions it needs (create and comment on issues).
- Store credentials in
~/.config/opensre/integrations.json, not in source code or environment variables. - Rotate the API token periodically.
Tracer