Hello, everyone. I've recently taken over as manager of my company's IT and this is hot button that I'd like to get fixed quickly. I have very little experience with the nuts and bolts of the software, so I'm hoping someone can help me out.
We use some simple logic in the class.ticket.php file to auto-assign tickets to users based on a simple on-call rotation. We make this code change manually every couple of weeks. Here it is so you can see how simple it is:
// Automatically assign all network tickets to: Josh's ID is 14 and Mike ID is 49
if ($deptId=='1')
$sql.=',staff_id=14';
// Automatically assign all software tickets to: Rob is 11 Phil is 13 Sam is 16 Katy is 47
if ($deptId=='3')
$sql.=',staff_id=13';
So, this all works great. My question is, and I can't find how to get the system to do this exact thing in the admin panel, I then want to email that individual that a new ticket has been assigned to them. Neither the "New Ticket Alert" or the "Ticket Assignment Alert" functions in Adrmin Panel allow or work to provide this functionality. Does anyone has some PHP code that I can insert of can anyone give me some guidance on how to accomplish what I'm looking to do?
Thanks, and if I'm not clear on something, please let me know and I will try to elaborate.
Regards,
Mike
IT Operations Manager