Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.06 KB

README.md

File metadata and controls

40 lines (29 loc) · 1.06 KB

zenhub-slack-bot

Get Zenhub issue previews in Slack when an issue is mentioned.

Based on slackapi/easy-peasy-bot

Installation

Creating the Slack app

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.

Setting up the bot application

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

Usage

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