1.0.2 • Published 5 years ago

hubot-jira-links-multiple-tickets v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago