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~/.opensre/integrations.json:
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.
Verify
base_url, email, and api_token are all set) rather than a live API call.
Troubleshooting
Security best practices
- Use a dedicated Jira user for OpenSRE with only the permissions it needs (create and comment on issues).
- Store credentials in
~/.opensre/integrations.json, not in source code or environment variables. - Rotate the API token periodically.