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

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
hazy
Posts: 15
Joined: 04 Jan 2007, 11:12

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

Post 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.
ed
Posts: 143
Joined: 14 Feb 2005, 02:04
Location: Sydney, Australia

Post by ed »

Have a look in the Mantis Email Settings section of config_defaults_inc.php
hazy
Posts: 15
Joined: 04 Jan 2007, 11:12

Post 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?
ed
Posts: 143
Joined: 14 Feb 2005, 02:04
Location: Sydney, Australia

Post 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.
Post Reply