Find the Exponential Software extensions you want
| UNIX name | Owner | Status |
|---|---|---|
| mantisbtslackbot | Contextual Code | stable |
| Version | Compatible with |
|---|---|
| N/A | N/A |
MantisBT Slackbot will unfurl links from MantisBT.
The account you use for the Mantis login must have at least Reporter permissions on the projects you want unfurling to work on. If you want to unfurl private notes, make sure to adjust the permissions appropriately (to Developer, for example).
Run npm install, and then node index.js.
To run the script forever, you can use forever: forever start index.js.
You must adjust your Slack app settings. Add the base URL of your newly running node app to "Redirect URLs". Then under "Event Subscriptions", enable events and add $YOUR_DOMAIN/event as the Request URL, where $YOUR_DOMAIN is the URL to your node app. Subscribe to the "link_shared" event. And add your MantisBT domain to the "App Unfurl Domains".
In config.js, you can change config.slack.unfurl_style to "long", "medium", or "short" to get different amounts of info in the unfurl.