Installing and Configuring the Mattermost‑Jira Integration
This guide walks you through installing the Mattermost Jira plugin, setting up webhook secrets, linking Jira application URLs, configuring Mattermost commands, and creating Jira issues directly from Mattermost to streamline DevOps collaboration without leaving the chat platform.
Mattermost is an open‑source messaging platform designed for development teams, offering private‑cloud deployment, high scalability, and strong security, while integrating seamlessly with popular DevOps tools such as Jira, Jenkins, GitLab, and Bitbucket.
Jira is a leading project‑management tool for tracking user stories, bugs, and the full software development lifecycle. The Mattermost‑Jira integration reduces friction by allowing teams to receive and act on Jira notifications directly within Mattermost.
Mattermost Installation and Jira Plugin Setup
Generate a webhook secret for later configuration.
In Jira, navigate to System Settings → Applications → Application Links and add a new link pointing to http://mm.idevops.site . Follow the steps to configure the application name, type, and consumer key as shown in the screenshots.
In a Mattermost channel run the command:
/jira install server http://192.168.1.200:8050/
The server instance will be installed and you will be prompted to add an Application Link in Jira. Complete the following configuration:
1. Navigate to Settings > Applications > Application Links
2. Enter http://mm.idevops.site as the application link, then click Create new link.
3. Confirm your Mattermost URL as the "New URL" and continue.
4. Set Application Name: Mattermost
Application Type: Generic Application
5. Check the "Create incoming link" option and continue.
6. Set Consumer Key: mattermost_http_mm_idevops_site
Consumer Name: Mattermost
Public Key: -----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC2mbXCqNvhulHf4Ls7Pi88kcC8
...
-----END PUBLIC KEY-----
7. Click Continue.
8. Use the "/jira connect" command to link your Mattermost account with Jira.
9. Access "More Actions" on any message to create a Jira issue.After linking, test the connection with:
/jira info
If the server information is displayed, the integration is successful.
Configuring Jira Webhook Notifications
Run the command:
/jira webhook
Use the provided URL (e.g., http://mm.idevops.site/plugins/jira/webhook?channel=town-square&secret=LeQaZXj7TTvYNgr1HRj7AZKuD4BOBrfb&team=devopsgroup ) as the webhook endpoint in Jira under System Settings → Webhooks → Create Webhook .
Creating Jira Issues from Mattermost
Users can create Jira issues without leaving Mattermost by selecting the project, issue type, summary, description, and priority directly in the chat interface.
The integration enables ChatOps, consolidating tools and workflows into a shared console to improve collaboration, shorten feedback loops, and automate repetitive tasks.
For more DevOps and ChatOps tutorials, see the links provided at the end of the original article.
DevOps Cloud Academy
Exploring industry DevOps practices and technical expertise.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.