API: Add disableMailNotification on comments
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Description
We're using robots which adds automatic comments to commits on specific lines and we end up being flooded by mails.
To make it simple, xx issues detected = xx mails:
We don't want to make only one comment as we would lose the benefit of commenting on the exact same lines where the problem was detected (as a normal reviewer would do).
I would love if GitLab would automatically merge all theses changes in one mail as it would benefit everyone in other user cases. But in our case being able via the API to disable notifications would make the job completely.
Proposal
Add a disableMailNotification parameter to the comments API.
Links / references
-
comments API:
https://docs.gitlab.com/ce/api/commits.html#post-comment-to-commit -
Plugin that we're using that makes comments:
https://gitlab.talanlabs.com/gabriel-allaigre/sonar-gitlab-plugin
