You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2016-05-19 04:08:35

MarcW
Member
From: China
Registered: 2013-12-23
Posts: 41

Email notification issue on pending tickets

Hi all,

Our Technicians are not notified when a followup is added on a ticket in Pending status.
We don't have this issue on a followup added on an "assigned" status.

Configuration:

  • Requester, Technician in charge of the ticket, and Watchers are notified in case of "Add followup"

  • No notifications in case of "Update followup" or "Update ticket"

  • GLPI 0.90


Step to reproduce:

  1. Ticket is created (via email collector) => status open (email notifications are sent)

  2. Technician take the ticket => status assigned (email notifications are sent)

  3. Technician add a follow-up, choosing the status pending => status pending (email notifications are sent)

  4. The requester reply to the followup email notification, it is catch by the email collector, so a new followup is added => status changed to assigned (no email notification sent to the technician)

  5. If the requester send another email (now that the ticket is in "assigned" status), the email notification is correctly sent to the techician

We don't have this problem if the technician add a "normal" followup (keeping the ticket in status "assigned").

Anybody has the same issue ?

Regards,
Marc


Prod: Windows 2008 R2 - Apache 2.4.26 (Win64) - OpenSSL 1.1.0f - PHP 7.1.6 - MySQL 5.7.23 - GLPI 9.3.1 (600+ users authenticated with AD in 20+ entities)

Offline

#2 2016-05-19 07:36:41

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: Email notification issue on pending tickets

I think this is a feature. Please take a look at documentation but i at the moment i didn't find the place of this topic. I thought i read something else like in pending state no e-mail is send.


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#3 2016-05-19 08:22:24

MarcW
Member
From: China
Registered: 2013-12-23
Posts: 41

Re: Email notification issue on pending tickets

Thank you very much for your quick reply KKAdmin.
Indeed I should have searched in the French forum.

The explanation [fr] is very clear, but I agree with the message from Francois: the "solution" to enable the notification for "Update ticket" causes a lot of unwanted emails.

To avoid to send 2 notifications for the same events should be managed by GLPI code: something like IF AND ONLY IF the recipient is in "Update ticket" AND "Add followup" THEN we disable "Add followup" notification, but not to disable it in all the cases.
To not receive a notification on a new followup when it is configured in "Add followup" is a bug, not a feature !

@Yllen, if you pass by this thread, hopefully you may agree smile


Prod: Windows 2008 R2 - Apache 2.4.26 (Win64) - OpenSSL 1.1.0f - PHP 7.1.6 - MySQL 5.7.23 - GLPI 9.3.1 (600+ users authenticated with AD in 20+ entities)

Offline

#4 2016-05-19 15:23:36

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Email notification issue on pending tickets

Can you try this: https://github.com/glpi-project/glpi/co … c27f7ee4b2
and say me if ok for you?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#5 2016-05-23 04:57:43

MarcW
Member
From: China
Registered: 2013-12-23
Posts: 41

Re: Email notification issue on pending tickets

Hi Yllen,

I have updated from 0.90 to 0.90.3, as the ticketfollowup.class.php is very different between these 2 versions.

And before applying your fix, I tested again this issue and it seems that it has already been solved. Now I receive notification (as technician) even on an email reply for a ticket in pending status.

It could be a "side-effect" of one of another issue you solved in the last 3 versions concerning the tickets followup (I guess it is this one).

As usual, thanks again for your very quick reply and I stay available if you need  more information or tests.


Prod: Windows 2008 R2 - Apache 2.4.26 (Win64) - OpenSSL 1.1.0f - PHP 7.1.6 - MySQL 5.7.23 - GLPI 9.3.1 (600+ users authenticated with AD in 20+ entities)

Offline

Board footer

Powered by FluxBB