Jira
Rocketgraph opens one Jira issue per alert storm, comments as it grows, and closes it once the alerts stop.
Each alert storm becomes one issue in the Jira project you pick. Later alerts in the storm are added as comments, and the issue is closed after a day once the alerts have stopped.
Connect
- Open Connect and click Jira under Ticketing.
- Site URL: the address you open Jira at, like
https://yourteam.atlassian.net. - Account email: the email of the Atlassian account that creates the token. Issues are opened as this account.
- API token: in Atlassian, open Account settings → Security → API tokens and create a token. The Open Atlassian API tokens button takes you there.
- Project: pick where issues are opened. The list fills in once the first three fields are set.
- Issue type (optional): defaults to Task. It must exist in the project.
- Add a slow-trace report (optional): adds the 20 slowest traces from the alert window to each new issue, and which span held each one up. Needs ClickHouse as your observability backend.
- Click Connect Jira. Rocketgraph signs in, checks the project, and checks the issue type exists before saving.
What Rocketgraph reads and writes
It uses Jira Cloud's REST API v3 with your email and token. The token can do whatever that account can do, so use an account that can create, comment on and transition issues in the project.
GET /rest/api/3/myselfto check the login.GET /rest/api/3/project/searchandGET /rest/api/3/project/{key}for the project list and its issue types.POST /rest/api/3/issueto open an issue with the labelrocketgraph.POST /rest/api/3/issue/{key}/commentfor new alerts in the storm.GET /rest/api/3/issue/{key}/transitionsandPOSTto it, to move the issue to a done status, with a comment saying why.
A new issue lists every alert in the storm, a summary, likely causes and checks to run. When there is something to say, it also has earlier storms like this one, code changes from GitHub, and the slow-trace report.
Known limits
- An issue is not closed while its storm is still firing.
- If the workflow has no transition to a done status, the issue stays open.
- The project list shows up to 100 projects.
- You can cap new tickets per day on the Settings page. Comments on existing tickets are not capped.
Disconnect
Open Jira on the Connect page and click Disconnect Jira. Then revoke the API token in Atlassian if you no longer need it.