hubot-mantisbt
v0.2.2
Published
MantisBT integration for Hubot
Downloads
33
Maintainers
Readme
hubot-mantisbt
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.comHUBOT_MANTIS_CONNECT_URL
- URL for mantisconnect.php, defaultHUBOT_MANTIS_BASE_URL
api/soap/mantisconnect.php?wsdlHUBOT_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 projecthubot [mantis ]my [<assigned|monitored|reported>] issues[ for project <project>]
- my last issueshubot mantis set username <username>
- set username you have in Mantis (for themy 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