1.0.1 • Published 6 years ago

hubot-rt-links v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

hubot-RT-links

Build Status npm version MIT License

hubot scipt that recognized request tracker issue numbers and respond with their urls

See src/rtlinks.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-rt-links --save

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

["hubot-rt-links"]

Configuration

Required:

  • HUBOT_RT_DOMAIN - domain when your RT instance lives (e.g. "rt.example.com")

Optional:

  • HUBOT_RT_PREFIX - comma separated list of prefixes to call (e.g. "RT,rt")
  • HUBOT_RT_INSECURE - if this is set, urls will be prefixed by 'http' instead of 'https'.

If you don't set HUBOT_RT_PREFIX, any pattern of rt #### will be linked

Sample Interaction

user >> rt 1234
hubot>> https://rt.example.com/Ticket/Display.html?id=1234

NPM Module

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

1.0.1

6 years ago

1.0.0

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago