Email on note added threshold

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
hockeyfan
Posts: 1
Joined: 09 Sep 2010, 21:13

Email on note added threshold

Post by hockeyfan »

I have a specific user setup to receive email notifications only when critical severity issues are entered or updated. To try to make this work, I changed all of the "E-Mail on xxxx" preferences on that user to have a minimum severity threshold of our highest (Severity 1) issue.

However, when a note is added to an issue this userid receives a notification, regardless of the severity.

I'm not a PHP programmer, but looking at the code, it appears that the $p_notify_type sent from bug_update() is slways set to the string "updated", which doesn't match any of the email_on_xxxxxx_min_severity column names in the user preferences table, so no minimum threshold is selected.

Is the "E-Mail on xxxx" feature intended to allow this sort of notification to work, or is there another way I can configure Mantis to get what I need?

I'm running version 1.1.7

Thanks
Post Reply