Page 1 of 1

Send mail to new handler in case of feedback

Posted: 04 Jan 2011, 10:54
by thomasbrooks
Hello all!
I'm using Mantis ver. 1.2.4 and have encountered a problem in managing email notifications.
I want to send a notification mail to the developer to whom an issue is assigned, if feedback has been requested on the given issue.
In Manage -> E-mail Notification I've marked the check box of "Status changes to 'feedback'" for "User who is handling the issue", and similarly added to config_inc.php the line:

Code: Select all

$g_notify_flags['feedback']['handler'] = ON;
In the Account Preferences of the developers, the checkbox of "Email on Feedback" is marked, with any severity.
Now, what's happening is as follows:

If I'm taking an issue which is assigned to developer A, in any given status, and request feedback from him - without changing the assigned user in the "Request Feedback" screen - then developer A gets email notification.

But, if I'm taking an issue which is assigned to developer A, request feedback - and in the "Request Feedback" screen I'm changing the assigned user to developer B - then developer B (- the newly-assigned user) doesn't get any notification.

See attached picture.

Any help about it?

Re: Send mail to new handler in case of feedback

Posted: 04 Jan 2011, 13:37
by istvanb
Does the "Email on Change of Handler" is turned on? (Manage/Manage Configuration/Email Notifications AND myaccount/preferences page of the users)

The behaviour you described makes sense since if the issue was owned by userA when it moved to Feedback and then change to userB then it wont trigger the feedback email. It triggers the email on change of handler though, so I guess this is where you should start from.

Re: Send mail to new handler in case of feedback

Posted: 04 Jan 2011, 14:06
by thomasbrooks
Does the "Email on Change of Handler" is turned on?
- No, since I don't want to send emails on every change of handler. Just on feedback requests.

Looking on the Issue History reveals that the assignment change happens, in the case which I described, before the status change to Feedback.
Is there a way to get only feedback request notification in such a case?