Assigning department to ticket