That is, I want a filter dependent on currentUser() and currentUser()'s team. I've tried this with project roles, groups, and every JQL combination I can think of, and I can't do it.
For example, if User1 selects the filter, it returns all issues assigned to User1's team, whether that be identified in a project role or in a user group. If User2 selects the filter, it returns all issues assigned to User2's team, ... Help!