The GitHub OAuth plugin adds a user's organizations and teams as Jenkins groups when authenticating through GItHub.
The pattern for teams is: organization.login*team.name
Instead of team.name, Jenkins should store the group name as team.slug. Team slugs are unique per organization and are more URL path / script friendly.