Page 1 of 1

project creator is not reciving a notif. e-mail on new bug

Posted: 05 Jan 2007, 15:26
by hazy
Hallo

I have the following questions;

1 - is it possible to set any option so owner of the project (the guy who has a particular project created) will receive a notification email when a new bug is reported for that project.
(the same why as user recives an email when bug is assigned to him)

PS as far as i can see in Manage->Manage Confguration->Email notification-> we cannot set it?!

In the email_api.php you will find:

# send notices when a new bug is added
function email_new_bug( $p_bug_id ) {
email_generic( $p_bug_id, 'new', 'email_notification_title_for_action_bug_submitted' );
}

that's why i think this mail should be sent.



Thnx for you help.

Posted: 07 Jan 2007, 05:51
by ed
Have a look in the Mantis Email Settings section of config_defaults_inc.php

Posted: 08 Jan 2007, 14:46
by hazy
Hey

I have look at it and I still don't see the answer.

I think the possible solution could be

$g_notify_flags['new']['threshold_min']="PROJECT_OWNER";
$g_notify_flags['new']['threshold_max']="PROJECT_OWNER";

but i have a lot of doubts.

what do you think about such approach?

Posted: 08 Jan 2007, 23:09
by ed
The default access levels in Mantis are:

viewer,reporter,updater,developer,manager,administrator

you would assign the project owner as a manager in mantis and then from your example change "PROJECT_OWNER" to MANAGER (no quotes).

give it a go and see what happens.