Page 1 of 1

Project specific Email Notifications

Posted: 13 Jul 2012, 05:36
by libregeek
I have enabled project specific email notifications in our Mantis instance. However, I'm facing weird issue in which email notifications are not delivered properly. So here is the case:

There are 10 users in the system and 8 out of them have project specific roles. They are added to the system as reporter, but their role in each project is different. Consider the user account ABC who is added to the system as reporter, but in project XYZ he has developer role. I have enabled email notifications for developer whenever an issue gets resolved. But the developers are not getting any notifications except for those issues which are assigned to them.

I have attached a screenshot of the config screen. Please let me know if I have missed something.

Re: Project spscific Email Notifications

Posted: 13 Jul 2012, 05:52
by atrol
Did you try Email logging to get some more information?

Code: Select all

$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/tmp/mantisbt.log';

Re: Project specific Email Notifications

Posted: 19 Jul 2012, 11:10
by libregeek
I forgot to mention that the issue is valid only for the issues updated through Source Control Integration plugin and today it worked for one of the issues resolved through svn commit. I will enable the logging and post the results ASAP.

Re: Project specific Email Notifications

Posted: 20 Jul 2012, 04:55
by libregeek
atrol wrote:Did you try Email logging to get some more information?

Code: Select all

$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/tmp/mantisbt.log';
I checked the logs and it seems only the administrators+reporter are selected as notification recepients when the issue is resolved from Source Control Integration Plugin. No Developers are selected.

However, all the developers received email notifications when the issue is resolved from the Mantis Web interface. So it seems a bug in the Source Control Integration plugin.

Re: Project spscific Email Notifications

Posted: 20 Jul 2012, 10:20
by atrol
Thanks for the feedback and entering the issue.
To follow up for other users which are getting the same problem: https://github.com/mantisbt-plugins/sou ... /issues/22