Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Add name of agent who created the ticket


I am wondering if anyone out there has found a way to add the Agent's Name to the New Ticket Alert email template in OSTicket? I have looked online but all I have been able to find is this link that doesn't give much hope:

Any help/ideas would be appreciated. Thanks!


  • I wrote this code to get from the database who created the ticket
    function getCreatedBy()
    .' WHERE ticket_id='.db_input($this->getId())
    .' AND state='.db_input("created");
    if(($res=db_query($sql)) && db_num_rows($res))
    return $id;
    I put this in /include/staff/class.ticket.php and then tryied to modify onNewTicket()
    concatenating the return with the subject but it didnt work
    Thank you in advance
Sign In or Register to comment.