You are not logged in.
Hello,
I'm trying to implement into the email notifications the entire timeline of the ticket. I'd like to do so by separating the messages sent by the authors of the ticket and the others, to then attribute to each type a different CSS class. to do so, I've tried (unsuccessfully) the following statements :
##FOREACHtimelineitems##
##FOREACH [FIRST 1/LAST 1/_] [ticket.authors/authors]##
##IF[ticket.authors/authors]=timelineitems.author##
##ENDIF[ticket.authors/authors]##
##IFtimelineitems.author=[ticket.authors/authors]##
##ENDIFtimelineitems.author##
##ENDFOREACH[ticket.authors/authors]##
##IF[ticket.authors/authors]=timelineitems.author####ENDIF[ticket.authors/authors]##
##ENDFOREACHtimelineitems##
Do you have any idea how to make it work ? I haven't found any kind of documentation about these tags and statements, if you know where to find that I'd really appreciate it.
I'd also need an ELSE statement or a '!=' sign if you know how these are represented in that language.
Thanks, and have a good day !
Offline