Feature #5581
openexpose `send_email` option in the HTTP API, for `comment_commit` and `comment_pull_request`
0%
Description
In the Python API, CommentsModel.create
has a send_email
argument, that controls whether mail notifications is sent to users.
In the HTTP API (comment_commit
and comment_pull_request
), there is no such option. It is possible to add CC mails, but not to mute the notifications.
I am writing a bot that will act as a pull request reviewer. As each change of a PR status requires a comment (under review, approved, rejected), I would like to send mail notifications only for important events (rejection). I know my users, they will definitely complain if they receive too much emails from this bot!
The request is to add a send_email
parameter to these two HTTP API methods. It is not clear how this new argument should play with the existing extra_recipients
argument, though.
Updated by Marcin Kuzminski [CTO] almost 5 years ago
- Status changed from New to In Progress
Updated by Redmine Integration almost 5 years ago
- Status changed from In Progress to Resolved
Commit 8dec0424a60a
by Bartlomiej Wolynczyk nartek@rhodecode.com on stable
branch changed this issue.
https://code.rhodecode.com/rhodecode-enterprise-ce/changeset/8dec0424a60ae498b46818be6b2ee5495bae2764
Updated by Redmine Integration almost 5 years ago
Commit bb0e450ff9c4
by Bartlomiej Wolynczyk bartek@rhodecode.com on stable
branch changed this issue.
https://code.rhodecode.com/rhodecode-enterprise-ce/changeset/bb0e450ff9c422f8dcea6e9582c669ab3e0532f5