Menu

Adding public log to e-mail notification

2015-06-23
2015-06-26
  • John Delgro

    John Delgro - 2015-06-23

    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.

     
  • dlp

    dlp - 2015-06-23

    I use this to display the logs in mails :

    $this->head(public_log)$
     
  • John Delgro

    John Delgro - 2015-06-24

    Hello dlp,

    That is exactly what I was looking for! Is there a list of these variables that you know of?

     
  • dlp

    dlp - 2015-06-24

    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

     
  • John Delgro

    John Delgro - 2015-06-26

    Great! Thanks a lot for the information.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.