I'll give this a shot...again, no guarentees it will work because we're still working on figuring it out ourselves.
There are lots of "updates" that can be done to an issue. Do you want emails to be sent out for absolutely all updates or just certain ones?
Assuming you have all of your "management" users set to "Manager" in Mantis add these lines to config_inc.php (do not make your changes in config_defaults_inc.php because it gets over-written when you upgrade Mantis - if you don't have config_inc.php copy/rename config_inc.php.sample)
Code: Select all
$g_default_notify_flags = array('reporter' => ON,
'handler' => ON,
'monitor' => ON,
'bugnotes' => ON,
'threshold_min' => ANYBODY,
'threshold_max' => NOBODY);
$g_notify_flags['<actionORstatus>']['threshold_min'] = DEVELOPER;
$g_notify_flags['<actionORstatus>']['threshold_max'] = MANAGER;
Replace <actionORstatus> with any of these actions...
'new': a new bug has been added
'owner': a bug has been assigned to a new owner
'reopened': a bug has been reopened
'deleted': a bug has been deleted
'updated': a bug has been updated
'bugnote': a bugnote has been added to a bug
'sponsor': sponsorship has changed on this bug
'relation': a relationship has changed on this bug
Or these statuses...
'new', 'feedback', 'acknowledged', 'confirmed', 'assigned', 'resolved', 'closed'
You can add as many lines as you need to cover all of the bases. You can also change the thresholds to any value in $g_access_levels_enum_string.
For example..
$g_notify_flags['new']['threshold_min'] = REPORTER;
$g_notify_flags['new']['threshold_max'] = MANAGER;
Would send an email to users defined as REPORTER, UPDATER, DEVELOPER and MANAGER whenever a new issue is submitted.
Take an hour and read through config_defaults_inc.php. It it pretty well documented. You can also find an updated version of the manual at
http://www.scribd.com/full/2088848?acce ... jvshqlc2hw
To verify that emails are being sent to who you think they should check out the debugging section of config_defaults_inc.php for $g_log_level and $g_log_destination.