I've modified the file /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketCompose.dtl and added the following
to change the status of the ticket depending on the chosen response template:
Code: Select all
#Layers
<!--dtl:js_on_document_complete-->
<script type="text/javascript">//<![CDATA[
Core.Agent.TicketAction.Init();
switch ($QData{"ResponseID"}) {
case 21: document.getElementById("StateID").value = 7;break;
default: break;
}
//]]></script>
<!--dtl:js_on_document_complete-->
What I am missing and is this features already available in the release 3.1.2 without altering the dtl file?
Thanks a lot.
Cheers
NCA71