Get Zenhub issue previews in Slack when an issue is mentioned.
Based on slackapi/easy-peasy-bot
The easiest way is to create a configuration of Slack's own Bots app.
Go to https://slack.com/apps/A0F7YS25R-bots and click "Add Configuration" to get started.
We'll assume that you are familiar with node.js. Otherwise there are tons of guides online.
Rename config.example.js
to config.js
and update with your information.
Install some node dependencies
npm install
Run server
npm start
Add the bot to any channel, or include it in your direct message conversations.
The bot will recognize issues by any these formats:
#123
issue-123
issues/123
https://github.com/TheWrongAlice/zenhub-slack-bot/issues/123
https://app.zenhub.com/workspace/o/thewrongalice/zenhub-slack-bot/issues/123