This is currently not possible yet, but the developers plan to integrate such a feature, called "custom queues", in a future version of osTicket. As long as this has not happened, you either need to modify the source or always use the advanced search to filter the tickets by department ;)