Dear Osticket Community,Unter Premade replies are some variables like %{ticket.id}We have an external System from where we got an external ID over REST. (curl http://whatever/getmyid)We would like to implement an custom_tag  like  %{my_id}I dident find the parser for the Var Tags. I thought it is in the /include/class.canned.phposTicket (v1.10-rc.2)Dosent matter if the solution would look like a little bit hacked.Thank you for anny ideas.

function replaceVars seems to be the function to replace the variables in/include/class.variable.php https://github.com/osTicket/osTicket/blob/develop/include/class.variable.php#L106Anny idea how to put custom variables there ?

Problem Solved.http://stackoverflow.com/questions/8823454/osticket-add-variablesif the new variable is named my_id the tag should be %{ticket.my_id}The thread can be closed.

Write a Reply...