Webhooks¶
Run a local webhook server for Jira events.
Start Server¶
Starts a server listening for Jira webhook events.
Events¶
Supported events:
issue_createdissue_updatedissue_deletedcomment_createdsprint_startedsprint_completed
Configuration¶
Configure webhook handlers in .atlcli-webhooks.json:
{
"handlers": [
{
"event": "issue_created",
"command": "./scripts/notify-slack.sh"
},
{
"event": "issue_updated",
"filter": "project = PROJ AND type = Bug",
"command": "./scripts/update-dashboard.sh"
}
]
}
Webhook Setup¶
- Start the server:
atlcli jira webhook serve - Expose with ngrok:
ngrok http 3000 - Add webhook in Jira project settings with ngrok URL
Handler Scripts¶
Handler scripts receive event data via stdin: