hubot-rt-links
v1.0.1
Published
recognize request tracker issue numbers and respond with their urls
Downloads
13
Maintainers
Readme
hubot-RT-links
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