/hubot-jira-lookup

External script for hubot to jira integration.

Primary LanguageCoffeeScriptOtherNOASSERTION

Jira Issue lookup script for Hubot

Installation

Add the package hubot-jira-lookup as a dependency in your Hubot package.json file.

"dependencies": {
	"hubot-jira-lookup": "git://github.com/jivesoftware/hubot-jira-lookup.git"
}

Run the following command to make sure the package is installed.

$ npm install

To enable the script, add the hubot-jira-lookup entry to the external-scripts.json file (you may need to create this file, if it is not present or if you upgraded from Hubot < 2.4).

["hubot-jira-lookup"]

Configuration

There are three configuration values required for jira-lookup to work properly.

  • HUBOT_JIRA_LOOKUP_USERNAME
  • HUBOT_JIRA_LOOKUP_PASSWORD
  • HUBOT_JIRA_LOOKUP_URL

There is also an optional configuration value.

  • HUBOT_JIRA_LOOKUP_IGNORE_USERS

HUBOT_JIRA_LOOKUP_IGNORE_USERS will allow you to ignore messages from pre-defined users. Default is to ignore from users named "jira" and "github", casing is ignored.

If you're using Hubot Slack Attachments, this script will use Slack Attachments to format its lookup result.