Is this changed from 1.14? the db is the same.
I did some vibecoding with ai agent and says tha tI need to add this code tu api.tickets..php referring to this
https://github.com/osTicket/osTicket/pull/6400/changes
if (empty($data['to-email-id']) && !empty($defaults['emailId']))
$data['emailId'] = $defaults['emailId'];
after
$data = array_merge($defaults, $data);
This is working now. I try with your rule, but this is only for sending email out? Or is for the departments assignments=
I cannot change the forward method on the mail server.