Send web hooks triggered by specific events on tickets or transations


Is there available on Request Tracker some kind of web hooks triggered when tickets are created/changed/deleted or transactions are created/changed/removed?

This this could be quite useful to evaluate conditions on tickets or transactions and take some immediate actions on some external client.

Sandro Rodrigues

You could use RT::Scrips to accomplish this, inside of the action you can use something like LWP to make a request to an external client.

You can also write some custom action modules if these external calls get pretty complicated or you want to make them re-usable.

Can you provide an example of a scrip condition to catch every time a ticket is created, changed or removed? I can’t find documentation or examples on how to do this.

There is the “On transaction” existing condition or you can have a custom condition that just returns 1;