In the Response/Reply template I want to include the last message from the client to which I am replying.
So I included:
%{ticket.thread.lastmessage}
I understand that 'message' is always from the client and 'response' is always from the agent. So I would expect to see the last message that the client mailed. But in fact it shows the original (first) message (from the client)
I tested also: %{message.lastmessage} which is in the default Response/Reply Template from osTicket Default Template (HTML), but however this is in the default template, it says that this variable is not valid for this context. (This seems to be a bug on it's own).
I also tried: %{message} but that isn't supported either.
Can you please help me with the correct variable?
osTicket Version v1.12 (a076918)