Slack bot that parse sent messages for embedded Jira issue number and post a message of said issue.
@jirabot
message.channels
message.groups
message.im
message.mpim
chat:write:bot
git clone https://github.com/sgtoj/jira-slack-bot.git
cd ./jira-slack-bot/
npm install
npm run compile
npm start
The config file is one way to configure the application.
appconfig.template.json
to appconfig.json
cp ./appconfig.template.json ./appconfig.json
appconfig.json
file.appconfig.json
file.These enviroment variables can be used to override any settings that is
defined by default or defined the in the appconfig.json
(explained above).
SERVER_PORT
: Server port listening for incoming Slack webhook events.
SERVER_BASEPATH
: Base URL path for incoming slack webhook events.
/coolbot
SLACK_AUTHTOKEN
: Slack OAuth Access Token for the app.
xoxp-xxx-xxx-xxx-xxx
SLACK_VALIDATIONTOKEN
: Slack App Credential Verification Token.
zxy098
JIRA_PROTOCOL
: HTTP or HTTPS protocol used to connect to Jira.
https
JIRA_HOST
: Domain of Jira.
jira.example.com
JIRA_USERNAME
: Jira username.
a1B2c3
JIRA_PASSWORD
: Jira password.
a1B2c3
JIRA_APIVERSION
: Jira API version.
2