osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now
The plugin I am currently working on needs to perform some actions after the ticket has been assigned.
I know there aren't currently any signals to connect to for ticket assignment, so I was trying to add my own signal to the end of the onAssign function inside class.ticket.php.
$info = array('agent' => $staff);
Signal::send('ticket.assign', $this, $info);
I have also used a couple of variations of the Signal::send line but after connecting to the signal in my plugin's bootstrap function, it never fires.
I am able to connect to and use other Signals like model.created, it's just that my custom signal never fires.
I just can't seem to crack this one :(