Skip to content
/ slarify Public

Slarify sends notifications to Salck of Jira cards being in a specific workflow stage

License

Notifications You must be signed in to change notification settings

benka/slarify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slarify

Slarify is a small gem that helps integrating Atlassian's Jira with Slack in a way that it can fire notifications of cards being at a specific workflow stage.

This can be useful to notify testers for example of issues / features that reached a specific stage in the workflow. Ie.: deployed on test servers.

Installation

cd slarify
gem install bundler
bundle install
rake build 
gem install pkg/slarify-x.x.x.gem

And then execute:

$ slarify

Commands

slarify message --slackURL=SLACK_URL --bambooPlanURL=BAMBOO_PLAN_URL --bambooUser=BAMBOO_USER --bambooPass=BAMBOO_PASSWORD --message=SLACK_MESSAGE --channel=SLACK_CHANNEL --user=SLACK_USER --userIconURL=SLACK_USER_ICON_URL --userEmoji=SLACK_USER_EMOJI --
# posts a message to Slack
# options
 --slackURL=SLACK_URL               # (mandatory) slack url with the service tokens
 --bambooDomain=BAMBOO_PLAN_URL     # (mandatory) Bamboo cloud domain
 --bamboobambooBuildResultKey=BAMBOO_BUILD_RESULD_KEY
                                    # (mandatory) this is a Bamboo plan global environment variable. Represents plan_name plan_key and build_number
 --bambooUser=BAMBOO_USER           # (mandatory) Bamboo username
 --bambooPass=BAMBOO_PASSWORD       # (mandatory) password for Bamboo user

 --message=SLACK_MESSAGE            # (optional) a message to add to success/failure message
 --channel=SLACK_CHANNEL            # (optional) a specific channel for Slamboo to post
 --user=SLACK_USER                  # (optional) username Slamboo will post
 --userIconURL=SLACK_USER_ICON_URL  # (optional) icon / avatar URL for Slamboo on Slack
 --userEmoji=SLACK_USER_EMOJI       # (optional) Slack emoji name to use as icon/avatar
 --message
 
slamboo help [COMMAND]                                                     
# Describe available commands

Usage

slarify message --slackURL=SLACK_URL --bambooPlanURL=BAMBOO_PLAN_URL message=SLACK_MESSAGE --channel=SLACK_CHANNEL --user=SLACK_USER --userIconURL=SLACK_USER_ICON_URL --userEmoji=SLACK_USER_EMOJI --

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/benka/slarify

License

The gem is available as open source under the terms of the MIT License.

About

Slarify sends notifications to Salck of Jira cards being in a specific workflow stage

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages