Issue updates not triggering notification via Mattermost integration
Summary
The Mattermost notifications configuration GUI (Admin, Integrations, Mattermost notifications) says, under the Issue checkbox, "Trigger event when an issue is created, updated, or closed.". However, only new, close and reopen events trigger a notification to Mattermost. Updates to the Issue title, description or any attributes such as due date, epic, assigned to etc. do not get notified.
This behavior is different to that of webhooks, which do get triggered for updates, and it would seem logical if the Mattermost integration behaved in the same way.
If a change to the Mattermost integration behavior can't be made, the documentation and GUI labels should be updated to reflect the true behavior.
Similar behavior is seen with Merge Requests, which don't trigger a notification when updated or reverted - but they do when opened and merged.
Steps to reproduce
In GitLab version 13.12.1
- Enable the Mattermost integration and enable the Issue trigger.
- Create a new issue.
- Notification message sent to Mattermost
- Update the issue title, description, due date, assignee and epic.
- No notification sent to Mattermost.
- Close the issue.
- Notification sent to Mattermost.
What is the current bug behavior?
Updating an issue does not trigger a notification to Mattermost.
What is the expected correct behavior?
Updating an issue should trigger a notification to Mattermost.