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 2017-06-13 11:17:10

major697
Member
Registered: 2017-06-07
Posts: 17

Ticket send message to user in ticket

Hello I need plugin to send message to user, like this: http://plugins.glpi-project.org/#/plugin/validation (I can;t installed this plugin, bacuse I used GLPI version 9.1.3).
No message comes to the user, when I send message from ticket:

FluxBB bbcode test

Last edited by major697 (2017-06-13 11:18:09)

Offline

#2 2017-06-13 13:03:04

freewood
Member
From: Moscow
Registered: 2016-01-30
Posts: 116

Re: Ticket send message to user in ticket

Hello. You need a notification event called "New followup".
http://prntscr.com/fj7fzt


Debian Stretch + nginx 1.10.3 + php7.0-fpm
GLPI v9.3.1 + Reports, Behaviors, Forms

Offline

#3 2017-06-14 08:31:12

major697
Member
Registered: 2017-06-07
Posts: 17

Re: Ticket send message to user in ticket

freewood wrote:

Hello. You need a notification event called "New followup".
http://prntscr.com/fj7fzt


Ok, thansk, but it's work only where I change option in "add" on other than default option.


FluxBB bbcode test

I have a second question, what tags do I have to add to the template to send the e-mail message that I was write. I used this tags:

##FOREACHfollowups##
[##followup.date##] ##lang.followup.isprivate## : ##followup.isprivate##
##lang.followup.author## ##followup.author##
##lang.followup.description## ##followup.description##
##lang.followup.date## ##followup.date##
##lang.followup.requesttype## ##followup.requesttype##
##ENDFOREACHfollowups##

But not work correctly, Because the script sends the penultimate message, not the last one I wrote.

FluxBB bbcode test

Last edited by major697 (2017-06-14 08:36:22)

Offline

#4 2017-06-15 20:08:07

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

Re: Ticket send message to user in ticket

##FOREACH LAST 1 followups##
Only the last forlowup


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 2017-06-19 10:22:56

major697
Member
Registered: 2017-06-07
Posts: 17

Re: Ticket send message to user in ticket

yllen wrote:

##FOREACH LAST 1 followups##
Only the last forlowup

I don't understand, what I must add ?? That glpi send last message, not second to last.

Offline

#6 2017-06-19 15:26:01

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

Re: Ticket send message to user in ticket

It's the response to your question "I have a second question, what tags do I have to add to the template to send the e-mail message that I was write. I used this tags:"

If you want all followups of a ticket => ##FOREACHfollowups##
If you want the last foowup write => ##FOREACH LAST 1 followups##


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

#7 2017-06-20 08:51:44

major697
Member
Registered: 2017-06-07
Posts: 17

Re: Ticket send message to user in ticket

yllen wrote:

It's the response to your question "I have a second question, what tags do I have to add to the template to send the e-mail message that I was write. I used this tags:"

If you want all followups of a ticket => ##FOREACHfollowups##
If you want the last foowup write => ##FOREACH LAST 1 followups##


No it's not work. Look
In ticket on glpi I write letter "b" and this is my last message to user, but on email user send not last message (letter "b"), but the penultimate message (letter "vv"):

my last message:

FluxBB bbcode test

mail to user:

FluxBB bbcode test

This is my template email:

Nowa wiadomość:

Estimad@ ##ticket.authors##

##FOREACH last followups##

##followup.author## ha agregado una mensaje al ticket " ##ticket.title## ":

##lang.followup.description##: ##followup.description##

##ENDFOREACHfollowups##

Last edited by major697 (2017-06-20 08:53:30)

Offline

Board footer

Powered by FluxBB