Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Slack bot to monitor a Jira activity stream

License

Notifications You must be signed in to change notification settings

Learnosity/slackbot-atlassian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slackbot-Atlassian

Build Status

codecov

Slackbot-Jira is a bot for Slack that posts messages from a Jira activity feed.

Usage

You need go and gb install to build the project.

After cloning, you can build and run slackbot-atlassian, setting an environment variable to point it at its config file:

$ gb build all
$ CONFIG=slackbot-config.json ./bin/slackbot-atlassian

Configuration

The config should be a JSON file whose structure corresponds to the Config type in the code (see src/slackbot-atlassian/config.go).

The bot process is told where to get its config with the CONFIG environment variable.

Testing

To run the tests:

gb test all

To include the integration tests:

gb test -tags integration all

The integration tests assume that you have a Redis instance at localhost:6379.

License

Permissively MIT-licensed. See the LICENSE file.