Page 1 of 1

Run code after receiving or responding to a ticket.

Posted: Sat Feb 25, 2023 1:16 am
by Hidroxid
Script URL:
Version of script: 3.4.2
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: exec php after send answer, exec php after receive ticket

Write your message below:

Hello

Does Hesk have any configuration that allows executing PHP code when a ticket is received or when a ticket is answered, without changing the original program files?

If there is no way, can you give me a hint of which are the PHP that are executed when:

-A user submits a ticket from the web
-A support agent answers a ticket

Thanks in advance :D

Re: Run code after receiving or responding to a ticket.

Posted: Sat Feb 25, 2023 8:18 am
by Klemen
Unfortunately no, there is no built-in support for custom code execution. Modifying the source files is the way to go.

I recommend using a versioning system to track your changes (Git, Subversion, ...) so you can easily apply them to future versions.