This Bugzilla extension does one very simple thing: Posts messages to Slack/Mattermost whenever a user changes a bug.
- Clone this project into your bugzilla extensions directory. Don't worry, the disabled file will prevent the extension from being loaded (which is wise, since you need to configure it first).
- Get an incoming webhook token (copy the full URL) and put it in $CONFIG{'slackURI'} in Extension.pm. (Yes, this is ugly. Hopefully one day this can be configured directly from a template in the bugzilla administration panel.)
- Change the remaining settings (channel, username, bugzillaURI).
- Adjust the message format to your liking (optional). The Bugzilla API documents can be very limited. If you know Perl you might also want to take a peak at the Bugzilla source code or other extension implementations.
- Remove the disabled file.
- Create a new bug or edit a bug and watch the extension fail miserably with a Perl error message.
- Fix your or my mistake
- Enjoy
Yes, most certainly! Contributions are welcome!