AviDuda / hubot-mantisbt

MantisBT integration for Hubot

Home Page:https://www.npmjs.com/package/hubot-mantisbt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hubot-mantisbt npm version

Mantis integration for Hubot

See src/mantisbt.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-mantisbt --save

Then add hubot-mantisbt to your external-scripts.json:

[
  "hubot-mantisbt"
]

Configuration

  • HUBOT_MANTIS_BASE_URL - e.g. https://bugs.example.com
  • HUBOT_MANTIS_CONNECT_URL - URL for mantisconnect.php, default HUBOT_MANTIS_BASE_URLapi/soap/mantisconnect.php?wsdl
  • HUBOT_MANTIS_USERNAME
  • HUBOT_MANTIS_PASSWORD
  • HUBOT_MANTIS_DATE_FORMAT - default YYYY-MM-DD hh:mm:ss

Commands

  • hubot [mantis ][<assigned|monitored|reported> ]issues for <user>[, project <project>] - last issues for user and optionally for project
  • hubot [mantis ]my [<assigned|monitored|reported>] issues[ for project <project>] - my last issues
  • hubot mantis set username <username> - set username you have in Mantis (for the my issues command)
  • hubot mantis projects - list all projects

Other functionality

  • Automatic issue preview when pasting a link to the bug tracker or a message in format #123

NPM Module

https://www.npmjs.com/package/hubot-mantisbt

About

MantisBT integration for Hubot

https://www.npmjs.com/package/hubot-mantisbt

License:MIT License


Languages

Language:CoffeeScript 100.0%