You are not logged in.
Pages: 1
Topic closed
Hi,
I am on 80.2 version which is recently updated from 0.78
Everything fine & smooth apart from my alerting for following filed.
##author.location##
##author.phone##
is not working underalerting. is there any additional settings which i should do in alerting template.
Previously, it was done being alerted by ##ticket.location##
Offline
Are Location and Phone fields full in user form ?
How is your template ?
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
Yes all fields are present and was working previously.
below is my template. Let me know if i am doing something wrong.
<div class="description"><br />
<pre class="description"><span class="Apple-style-span" style="text-align: left; widows: 2; text-transform: none; text-indent: 0px; border-collapse: separate; font: medium 'Times New Roman'; white-space: normal; orphans: 2; letter-spacing: normal; color: #000000; word-spacing: 0px;"><span class="Apple-style-span" style="line-height: 18px; font-family: Verdana, Helvetica, Arial, sans-serif; color: #333333; font-size: 13px;">##FOREACH LAST log##</span></span></pre>
</div>
<div class="description">
<div class="description">
<table style="width: 100%;" border="1" cellpadding="2">
<tbody>
<tr>
<td width="170"><strong>Update by:</strong></td>
<td valign="top">##ticket.log.user##</td>
</tr>
<tr>
<td valign="top"><strong>Update Date:</strong></td>
<td valign="top">##ticket.log.date##</td>
</tr>
<tr>
<td valign="top"><strong>##ticket.log.field##</strong></td>
<td valign="top">##ticket.log.content##</td>
</tr>
</tbody>
</table>
</div>
<div class="description"><span class="Apple-style-span" style="text-align: left; widows: 2; text-transform: none; text-indent: 0px; border-collapse: separate; font: medium 'Times New Roman'; white-space: normal; orphans: 2; letter-spacing: normal; color: #000000; word-spacing: 0px;"><span class="Apple-style-span" style="line-height: 18px; font-family: Verdana, Helvetica, Arial, sans-serif; color: #333333; font-size: 13px;"><span style="color: #000000;">##ENDFOREACHlog##</span></span></span></div>
</div>
<table style="width: 100%;" border="1" cellpadding="2">
<tbody>
<tr>
<td style="background-color: #9da8b3; width: 170px;" colspan="2">
<p><span style="color: #ffff00;"><strong>Description of Ticket :</strong></span></p>
</td>
</tr>
<tr>
<td width="170"><strong>Title</strong></td>
<td valign="top">##ticket.title##</td>
</tr>
<tr>
<td valign="top"><strong>Requester</strong></td>
<td valign="top">##ticket.authors##</td>
</tr>
<tr>
<td valign="top"><strong>User Location</strong></td>
<td valign="top">##author.location##</td>
</tr>
<tr>
<td valign="top"><strong>User Contact</strong></td>
<td valign="top">##author.phone##</td>
</tr>
<tr>
<td valign="top"><strong>Start date</strong></td>
<td valign="top">##ticket.creationdate##</td>
</tr>
<tr>
<td valign="top"><strong>Request source</strong></td>
<td valign="top">##ticket.requesttype##</td>
</tr>
<tr>
<td valign="top"><strong>Concerned Item</strong></td>
<td valign="top">##lang.ticket.itemtype##</td>
</tr>
<tr>
<td valign="top"><strong>Status</strong></td>
<td valign="top">##ticket.status##</td>
</tr>
<tr>
<td valign="top"><strong>Assigned to</strong></td>
<td valign="top">##ticket.assigntousers## / ##ticket.assigntogroups##</td>
</tr>
<tr>
<td valign="top"><strong>Priority</strong></td>
<td valign="top">##ticket.priority##</td>
</tr>
<tr>
<td valign="top"><strong>Urgency</strong></td>
<td valign="top">##ticket.urgency##</td>
</tr>
<tr>
<td valign="top"><strong>Impact</strong></td>
<td valign="top">##ticket.impact##</td>
</tr>
<tr>
<td valign="top"><strong>Ticket Type</strong></td>
<td valign="top">##ticket.type##</td>
</tr>
<tr>
<td valign="top"><strong>Category</strong></td>
<td valign="top">##ticket.category##</td>
</tr>
<tr>
<td valign="top"><strong>Content</strong></td>
<td valign="top">##ticket.content##</td>
</tr>
</tbody>
</table>
<p> </p>
Offline
Since 0.80, you can have multiple actor, so author.location most be put in a "foreach authors" loop
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
Hi Remi,
It worked perfectly. Thanks for your help.
Offline
OK. I close
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
Pages: 1
Topic closed