You can create a team and assign users to these teams for a period. Teams can consist of users that are in different roles. Teams are hierarchical and you can create a team as part of another team or a sub-team. Once a team structure is created, users can be assigned to teams for specific periods.
Watch this brief video on how to create a new team as a subset of another team.