Send mail to new handler in case of feedback

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
thomasbrooks
Posts: 5
Joined: 27 Dec 2010, 07:37

Send mail to new handler in case of feedback

Post 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?
Attachments
request_feedback.jpg
request_feedback.jpg (49.74 KiB) Viewed 4013 times
Thomas Brooks

Mantis: 1.2.4
PHP: 5.3.1
SQL: MySQL 5.1.41
OS: Windows Server 2003 R2, Standard Edition, SP2
istvanb
Posts: 226
Joined: 22 Aug 2010, 21:00

Re: Send mail to new handler in case of feedback

Post 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.
thomasbrooks
Posts: 5
Joined: 27 Dec 2010, 07:37

Re: Send mail to new handler in case of feedback

Post 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?
Thomas Brooks

Mantis: 1.2.4
PHP: 5.3.1
SQL: MySQL 5.1.41
OS: Windows Server 2003 R2, Standard Edition, SP2
Post Reply