For feature requests, please see: Contributing Feature Proposals - Mattermost.
For troubleshooting questions, please post in the following format:
Summary
Cannot get webhook to post message when ticket is closed, opened, or updated.
Steps to reproduce
Create webhook in Mattermost, get secret and webhook URL.
Create webhook in JIRA, paste webhook with team and channel in lowercase. Select “Issue: Create, Update, Closed”
Open Ticket in JIRA, close ticket in JIRA.
Expected behavior
JIRA bot user should post message to specified room.
Observed behavior
Nothing. Log messages indicate nothing, even on debug. Firewall is completely open on 80 and 443. When webhook URL is changed in JIRA Cloud to point to https://requestb.in, I can see POST results. It’s as if Mattermost is not parsing the POST request from JIRA. Using tcpdump, I can see the https traffic coming from the JIRA Cloud server when a ticket is updated. Webhook debugging is enabled, no messages appear in the log.
EDIT: Enabled debug logging. When the server starts, I see this message:
[2017/11/02 21:05:41 UTC] [EROR] /api/v4/plugins/webapp:GetActivePluginManifests code=501 rid=XXXXXXXXX9r4y1xd1cnm6ho uid=XXXXXXXXXX7iqa ip=82.2.21.211 Plugins have been disabled by the system admin or the server has not been restarted since they were enabled. [details: ]
This message appears even if the config.json is set to enable plugins:
"PluginSettings": { "Enable": true, "EnableUploads": false, "Plugins": { "jira": { "enabled": true, "secret": "XXXXXXXXXXX", "username": "jirabot3000" } } }