Transfer past and current tickets to new team

Our IT team were using 3 different teams to organize tickets. I want to make 1 all encompassing team. Is there a way to transfer all past and current tickets from teams I want to delete to the new team I am creating?

That would have to be done in the database and support would need to schedule a time with you.