Never Print Magazines

    hubot-rt-links

    1.0.1 • Public • Published

    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

    Install

    npm i hubot-rt-links

    DownloadsWeekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    5.79 kB

    Total Files

    10

    Last publish

    Collaborators

    • tobir