Mattermost is an open source chat and collaboration service similar to and largely compatible with Slack. It can be installed within a company’s network, and offers Enterprise capabilities.

RBCommons can integrate with Mattermost to post notifications whenever review requests or reviews are published.

You can have multiple different Mattermost configurations (up to your plan limit) to deliver notifications to different channels (or even different Mattermost instances).

Integration Configuration

  1. In your Team Administration page, navigate to Integrations and then click Add Integration -> Mattermost.

  2. Provide a descriptive name for this configuration in the Name field.

  3. Select the Conditions under which notifications will be sent to Mattermost.

    If you have a small team and want all notifications to go to the same place, you can set this to Always match. However, you can also create complex rules to match based on repository, groups, or other criteria.

  4. Register a new Incoming WebHook on Mattermost.

    To do this, open the Main Menu in Mattermost and click Integrations. Then click Incoming Webhook -> Add Incoming Webhook.

    Mattermost Main Menu

    Provide a title and description of your choosing, and then select the channel you want to post updates to and click Save.

    This will create your Incoming WebHook. Copy the URL it generates and paste that in the matching field for your configuration on your integration.

  5. If you want to reuse the same WebHook URL for multiple channels on the same Mattermost team, you can. Just provide the same URL you used in another integration and then set the Send to Channel field to your desired channel.