Github <-> Jira integration webhook bot
Features:
- Creates a subtask on a Jira issue when a github issue is created that follows
the pattern:
[MIG-XXX] Issue title
- When an issue is closed, either due to a PR "fixes" comment, or manually, bot will close relevant subtask if present
/deploy
dir contains install.sh
and a role to install.
cp my_var.yml.example my_var.yml
and fill in detailscp inventory.example inventory
and fill in details (NOTE: replace user with non-root remote user)- Run
deploy/install.sh
, passing private key for ansible ssh auth auth:
PRIVATE_KEY_FILE=~/.ssh/my-key.pem ./deploy/install.sh
Bot can act for single repo, or entire org. To hook up, navigate to org or
repo settings -> webhooks. The bot listens on http path: /ghissuehook
.
Example webhook coordinate: http://dog8code.com/ghissuehook
.
Webhook should also be configured to only send issue events.