JIRA Webhook Integration (Beta)

Set up a JIRA integration for your Mattermost instance within minutes using a built-in JIRA webhook integration.

This integration allows you to connect your JIRA projects with multiple channels across your teams, with custom options for what events are posted.

JIRA Setup Guide

Enable JIRA on your Mattermost instance

1 - (Optional) Create a new user account for your JIRA integration, which can act as a bot account posting JIRA updates to Mattermost channels.

2 - Enable JIRA in System Console > Integrations > JIRA (Beta). Then select the username that this integration is attached to. If you created an account in step 1, choose that username. Then hit Save.


3 - Next, copy the webhook URL above the Save button, which is used to configure the integration in your JIRA project.


Before pasting the webhook URL in JIRA, make sure to replace teamname and channelname with the Mattermost team URL and channel URL you want the JIRA events to post to.

For instance, if the team URL is contributors and channel URL is town-square, then the final webhook URL on the above screenshot would be


Configure the webhook in your JIRA project

4 - Log in to your JIRA project as an administrator. Then click on System in the Administration menu.


5 - On the left-hand sidebar, go to Advanced > WebHooks. Then click the **Create a Webhook button to display the webhook creation form. Choose a unique name and add the JIRA webhook URL from step 3 as the URL.

6 - (Optional) Set a description and a custom JQL query to determine which types of tickets trigger events. For more information on JQL queries, refer to the Atlassian help documentation.

7 - Finally, set which issue events send messages to Mattermost channels. The following are supported:

  • Issue: Created - when an issue is created.
  • Issue: Updated - when an issue is closed or reopened.
  • Issue: Deleted - when an open issue is deleted. If the issue was already closed, deleting it won’t send a message to Mattermost.

8 - You’re all set! JIRA issue events are now sent to your Mattermost channels. To create a second webhook integration, simply replace the team URL and channel URL in step 3.

Disabling JIRA Integration

You can disable the JIRA integration any time from System Console > Integrations > JIRA (Beta).

Frequently Asked Questions (FAQ)

Why is the Mattermost domain missing from my webhook URL?

This is because Site URL hasn’t been set. As a result, the webhook URL displayed in System Console > Integrations > JIRA (Beta) is of the form /plugins/jira/....

To resolve it, set your Site URL in System Console > General > Configuration.

Why do I get an error WebHooks can only use standard http and https ports (80 or 443).?

JIRA only allows webhooks to connect to the standard ports 80 and 443. If you are using a non-standard port, you will need to set up a proxy for the webhook URL, such as


where <your-mattermost-url>, <your-port>, <your-team-url> and <your-channel-url> depend on your setup from the above steps.

How do I handle credential rotation?

You can generate a new secret in System Console > JIRA (Beta), and paste the new webhook URL in your JIRA webhook configuration.

This might result in downtime of the JIRA integration, but it should only be a few minutes at most.

How do I disable the plugin quickly in an emergency?

You can disable the JIRA integration any time from System Console > JIRA (Beta). Requests will stop immediately with an error code in System Console > Logs. No posts are created until the integration is re-enabled.