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

automatclly update the department (v1.10 rc2)


I want that,
if i assign a ticket to staff member -> than
the 'department' filed will automatclly update to his department 

Is this possible? 
if not can you guide me where is the code that need to be changed


Running on: 
osTicket v1.10 rc2
Web Server Apache/2.4.7 (Unix)
MySQL 5.0.11
PHP 5.5.12


  • As a reminder 1.10rc2 is a release candidate and should not be used in a production environment.

    Q: Is this possible?
    A: Anything is possible, but that is not how osTicket is designed to work.

    Q: if not can you guide me where is the code that need to be changed
    A: I cannot, as I have not played with that part of the code.  Perhaps someone else has.  Of course you are running what is essentially beta software and would have to re-mod your code base once 1.10rc3 or 1.10.0 is released should you ever want to upgrade.

  • Hi,
    Just in case it helps anyone, the change that should be done in code:
    In upload/include/class.ticket.php file in the end of assign() function (in line 2179), add the following:

    $this->dept_id = $assignee->getDeptId();

Sign In or Register to comment.