Skip to main content

E-mail agent reply template check ticket status - Feature Request - Deskpro Support

When replying to a customer, you can choose Resolved and Awaiting agent. If your system is using the function to block already resolved cases, it would be nice to be able to inform the customer of this, in the last agent reply.<br /><br /> <br /><br /> What this means is, if i resolve a case and respond to the user, i should be able to do such a check in the template &quot;if ticket.status = resolved&quot; kinda-thing, and implement a message to the user &quot;This ticket is now closed. If you have further questions regarding this ticket, please refer to ticket id : bla bla., in a new ticket&quot; and so forth.<br /><br /> <br /><br /> I&#039;m not sure if this can already be done. I&#039;ve tried doing it before a while ago, but the function wasn&#039;t there.

Comments (2)

Christopher Padfield
Should be able to do this now; ticket.status variable and check if it equals resolved.
Kenneth
if (ticket.status == "resolved") { }

works like a charm, thank you, you may close this request.