0.2.2 • Published 10 years ago
hubot-mantisbt v0.2.2
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_URLapi/soap/mantisconnect.php?wsdlHUBOT_MANTIS_USERNAMEHUBOT_MANTIS_PASSWORDHUBOT_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 issuescommand)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