A Slack bot that listens to our JIRA instance and alert's assignees when something has been assigned to them or they are mentioned in a comment.
- Clone this repo
- Run
npm install
to install dependencies - Run
cp .env-sample .env
to generate a templated environment file - Add environment options to the
.env
file (the Slack client id, secret and callback url are only needed if you are using the OAuth2 redirect to obtain a token) - Point your JIRA instance to
https://<your website>/jira-webhook
. It will now start receiving POST traffic from JIRA - Start the server with
NODE_ENV=production node server.js
. We suggest using something like pm2 to run the server long term.