Mantis integration for Hubot
See src/mantisbt.coffee
for full documentation.
In hubot project repo, run:
npm install hubot-mantisbt --save
Then add hubot-mantisbt to your external-scripts.json
:
[
"hubot-mantisbt"
]
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
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
- Automatic issue preview when pasting a link to the bug tracker or a message in format #123