Teams do not belong to Department... Teams are cross departmental containers.
If someone is opening the ticket via the UI you can use different help topics to sort tickets to different Departments and/or assign it to a specific Team.
If someone is opening a ticket via email, you can use Ticket Filters to do something similar but it is not as good or as easy to do as using the UI to open tickets (imo).