Skip to content

Hubot plugin to recognize jira issue numbers and respond with their urls

License

Notifications You must be signed in to change notification settings

magikid/hubot-jiralinks

 
 

Repository files navigation

hubot-jiralinks

Build Status npm version

hubot scipt that recognized jira issue numbers and respond with their urls

See src/jiralinks.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-jira-links --save

Then add hubot-jira-links to your external-scripts.json:

["hubot-jira-links"]

Configuration

Required:

  • HUBOT_JIRA_DOMAIN - domain when your jira instance lives (e.g. "example.atlassian.com")

Optional:

  • HUBOT_JIRA_PROJECTS - comma separated list of project prefixes (e.g. "AB,CD,EF")
  • HUBOT_JIRA_INSECURE - if this is set, urls will be prefixed by 'http' instead of 'https'.

If you don't set HUBOT_JIRA_PROJECTS, any pattern of [a-zA-Z]-#### will be linked

Sample Interaction

user >> jira-1234
hubot>> https://example.jira.com/browse/JIRA-1234

NPM Module

https://www.npmjs.com/package/hubot-jira-links

About

Hubot plugin to recognize jira issue numbers and respond with their urls

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 63.6%
  • JavaScript 24.9%
  • Shell 11.5%