Send a notification, to all project users, on new issue
Moderators: Developer, Contributor
Send a notification, to all project users, on new issue
When reporting an issue, is it possible to automaticaly send a notification to all users that are added to the respective project?
I can now do this by
"Send a reminder" after posting the issue
to all project members
but it is two more clicks, and someone might forget to do it.
I can now do this by
"Send a reminder" after posting the issue
to all project members
but it is two more clicks, and someone might forget to do it.
Re: Send a notification, to all project users, on new issue
Add the following lines to your config_inc.php file (if you don't have it copy/rename config_inc.php.sample)
$g_notify_flags['new']['threshold_min'] = ANYBODY;
$g_notify_flags['new']['threshold_max'] = ADMINISTRATOR;
You can also look at the section of config_defaults_inc.php where that setting is found to read more about email notifications.
$g_notify_flags['new']['threshold_min'] = ANYBODY;
$g_notify_flags['new']['threshold_max'] = ADMINISTRATOR;
You can also look at the section of config_defaults_inc.php where that setting is found to read more about email notifications.
Re: Send a notification, to all project users, on new issue
I read the section about section config_defaults_inc but I can't get it write.
Let me refrase
Is it possible for all users that are added to a project (lets say as developers) to automatically monitor an issue when this is reported ?
this is what I have done this far
$g_default_notify_flags = array('reporter' => ON,
'handler' => ON,
'monitor' => ON,
'bugnotes' => ON,
'threshold_min' => DEVELOPER,
'threshold_max' => ADMINISTRATOR);
$g_notify_flags['new'] = array('threshold_min' => DEVELOPER,
'threshold_min' => ADMINISTRATOR);
Let me refrase
Is it possible for all users that are added to a project (lets say as developers) to automatically monitor an issue when this is reported ?
this is what I have done this far
$g_default_notify_flags = array('reporter' => ON,
'handler' => ON,
'monitor' => ON,
'bugnotes' => ON,
'threshold_min' => DEVELOPER,
'threshold_max' => ADMINISTRATOR);
$g_notify_flags['new'] = array('threshold_min' => DEVELOPER,
'threshold_min' => ADMINISTRATOR);
Re: Send a notification, to all project users, on new issue
You have a typo in your last line...you have threshold_min listed twice.
$g_notify_flags['new'] = array('threshold_min' => DEVELOPER,
'threshold_max' => ADMINISTRATOR);
$g_notify_flags['new'] = array('threshold_min' => DEVELOPER,
'threshold_max' => ADMINISTRATOR);
Re: Send a notification, to all project users, on new issue
Oh my. I must be getting old.
I correct the typo but the problem still remains.
this is my configuration now:
I even open debug mode
and when I submit an issue I get this
There are two more users added as managers in this project.
Is there any chance to have a bug here?
Something similar to http://www.mantisbt.org/bugs/view.php?id=9309 ?
I correct the typo but the problem still remains.
this is my configuration now:
Code: Select all
$g_default_notify_flags = array('reporter' => ON,
'handler' => ON,
'monitor' => ON,
'bugnotes' => ON,
'threshold_min' => DEVELOPER,
'threshold_max' => ADMINISTRATOR);
$g_notify_flags['new'] = array('threshold_min' => DEVELOPER,
'threshold_max' => ADMINISTRATOR);
Code: Select all
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT ;
$g_log_destination = 'file:/tmp/mantis.log';
I must say that I use mantis 1.1.22008-07-23 10:43 EEST mail_recipient bug=5, add reporter=5
2008-07-23 10:43 EEST mail bug=5, type=new, msg=email_notification_title_for_action_bug_submitted, recipients=(janokary at gmail.com)
There are two more users added as managers in this project.
Is there any chance to have a bug here?
Something similar to http://www.mantisbt.org/bugs/view.php?id=9309 ?
-
- Posts: 8
- Joined: 19 Jan 2012, 11:41
Re: Send a notification, to all project users, on new issue
Have you got it working?When reporting an issue, is it possible to automaticaly send a notification to all users that are added to the respective project? Currently I am getting a notification to the reporter, assigned developer and manager. I would like to send the notifications to all users who are added in the project..I use the latest version 1.2.6/MySQL implementation.
Rajesh Kanattu
Mantis 1.2.8 /WAMP
Mantis 1.2.8 /WAMP
Re: Send a notification, to all project users, on new issue
Use "Manage" -> "Manage Configuration" -> "E-mail Notifications"
Enable all access levels in row "Status changes to 'new'"
Enable all access levels in row "Status changes to 'new'"
-
- Posts: 8
- Joined: 19 Jan 2012, 11:41
Re: Send a notification, to all project users, on new issue
Thank you atrol!
Yes, I have already enabled all the access level for new.
I do have 2 reporter, 1 manager, 1 developer for a projects. All this users are assigned to a project. I am thinking that all users will get email notification about the new issues, but only the report of the issue, developer and manager gets email. One of the reporter who is a part of the project didn't get mail.
My understanding is that all users who are assigned in the project should get the email for the selected events(Manage Conf,Email Notifications). Is it correct, if so how to make it working?
Thanks for any directions...
/Rajesh
Yes, I have already enabled all the access level for new.
I do have 2 reporter, 1 manager, 1 developer for a projects. All this users are assigned to a project. I am thinking that all users will get email notification about the new issues, but only the report of the issue, developer and manager gets email. One of the reporter who is a part of the project didn't get mail.
My understanding is that all users who are assigned in the project should get the email for the selected events(Manage Conf,Email Notifications). Is it correct, if so how to make it working?
Thanks for any directions...
/Rajesh
Rajesh Kanattu
Mantis 1.2.8 /WAMP
Mantis 1.2.8 /WAMP
-
- Posts: 8
- Joined: 19 Jan 2012, 11:41
Re: Send a notification, to all project users, on new issue
I checked this, all users in the projects has preference set to receive email on New issues? Do we have any log files settings so that we can trouble shoot?
Thanks for the quick reply.
Thanks for the quick reply.
Rajesh Kanattu
Mantis 1.2.8 /WAMP
Mantis 1.2.8 /WAMP
Re: Send a notification, to all project users, on new issue
Add the following lines to config_inc.php to trace how MantisBT collects and removes the recipients
Code: Select all
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:C:\mantisbt.log';
-
- Posts: 8
- Joined: 19 Jan 2012, 11:41
Re: Send a notification, to all project users, on new issue
Dear All,
I still get this working ...
Let me again reiterate what I am looking..
When reporting an issue, I would like to automaticaly send a notification to all users that are added to the respective project? Presently notification is going to the repoter(who reported the issue),developer ( based on category i have assigned automatically),manager of the project. But I have one more member in the project who is a reporter, he doesn't get the notification . Does mantis is capable of doing this?
I have modified the default flags in config_inc.php as follows..
$g_default_notify_flags = array('reporter' => ON,
'handler' => ON,
'monitor' => ON,
'bugnotes' => ON,
'explicit' => ON,
'threshold_min' => ANYBODY,
'threshold_max' => ADMINISTRATOR);
$g_notify_flags['new']['threshold_min'] = ANYBODY;
$g_notify_flags['new']['threshold_max'] = ADMINISTRATOR;
It doesn't work..I couldn't get any clue from the email log as well,,
Can somebody from the Forum help?
I still get this working ...
Let me again reiterate what I am looking..
When reporting an issue, I would like to automaticaly send a notification to all users that are added to the respective project? Presently notification is going to the repoter(who reported the issue),developer ( based on category i have assigned automatically),manager of the project. But I have one more member in the project who is a reporter, he doesn't get the notification . Does mantis is capable of doing this?
I have modified the default flags in config_inc.php as follows..
$g_default_notify_flags = array('reporter' => ON,
'handler' => ON,
'monitor' => ON,
'bugnotes' => ON,
'explicit' => ON,
'threshold_min' => ANYBODY,
'threshold_max' => ADMINISTRATOR);
$g_notify_flags['new']['threshold_min'] = ANYBODY;
$g_notify_flags['new']['threshold_max'] = ADMINISTRATOR;
It doesn't work..I couldn't get any clue from the email log as well,,
Can somebody from the Forum help?
Rajesh Kanattu
Mantis 1.2.8 /WAMP
Mantis 1.2.8 /WAMP
Re: Send a notification, to all project users, on new issue
Yeap, just check the reporter checkboxes on the email notification page. That will flood all of your reporters though.
What you can do is to use the updater credential on a project basis. With this you can notify all the updater users and the system will not spam each and every reporter.
(instead of updater you can create a new credential as well)
What you can do is to use the updater credential on a project basis. With this you can notify all the updater users and the system will not spam each and every reporter.
(instead of updater you can create a new credential as well)
-
- Posts: 8
- Joined: 19 Jan 2012, 11:41
Re: Send a notification, to all project users, on new issue
Thank you, that did work!
Just a followup question, does the email goes all the updater or updaters who is member of the project from where issues are open? Basically I will like to have project based notification.
/Rajesh
Just a followup question, does the email goes all the updater or updaters who is member of the project from where issues are open? Basically I will like to have project based notification.
/Rajesh
Rajesh Kanattu
Mantis 1.2.8 /WAMP
Mantis 1.2.8 /WAMP
Re: Send a notification, to all project users, on new issue
I am 99.9% sure that it works as you wish. So only users who have updater credentials on that specific project will receive emails.
the 0.1% is measurement uncertainty
the 0.1% is measurement uncertainty