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

New ticket : autofill deparment based on staff department

Hi,

I've searched but unable to find how to auto fill the department based on the staff departement when a new ticket is created.

I suppose that I need to modify the "selected value" in the newticket.inc.php file but as i'm not very good with php I was unable to do it myself :(

Do you have any idea or an example ?

Thanks.

Tagged:

Comments

  • I'm not aware of anyone actively developing for 1.6ST anymore.  You should consider upgrading to the current version 1.8.

    That being said you would need to modify the source probably to:
    1. using the staff name look up with department (mysql query)
    2. modify the /include/staff/newticket.inc.php using an if statement to assign the department based on the response to 1.
This discussion has been closed.