Feature proposal: Add more data in the message sent by the Mattermost Notifications Service
Release notes
I'm using the Mattermost Notifications Service on my gitlab repository which sends alerts to mattermost when an error occurs in a pipeline
It sends many data (Pipeline ID, duration, tag/branch, commit, failed stage and jobs) but it would be great if we could send more data available from the gitlab API, like the pipeline variables or the last 20 lines of the error stack trace.
Problem to solve
Add some checkbox in the settings/integrations/Mattermost notifications, to get more precise data from the pipeline
User experience goal
Get a quick look at what went wrong in the pipeline with the stack trace, and get some extra information with pipeline's variables (we've got our software version)
Proposal
Users can go in settings/integrations/Mattermost notification and check more boxes to see the stack trace or pipeline's variables or any other data from the pipeline, to get it in the mattermost message sent by the notification service.
Permissions and Security
For the people who got access to the repository's settings
Documentation
https://docs.gitlab.com/ee/user/project/integrations/mattermost.html