Is it possible to add the last public log from a ticket to the notification e-mail?
I know you can use some kind of variable like $this->name()$. Would be awesome if there is a variable for the latest public log.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
Is it possible to add the last public log from a ticket to the notification e-mail?
I know you can use some kind of variable like $this->name()$. Would be awesome if there is a variable for the latest public log.
I use this to display the logs in mails :
Hello dlp,
That is exactly what I was looking for! Is there a list of these variables that you know of?
In the datamodel you can find the list of the attributes.
Then, the function "head" is to get the last element.
Here is the wiki : https://wiki.openitop.org/doku.php?id=admin:notifications
Great! Thanks a lot for the information.