Custom View with placeholders

Custom View with placeholders

I want a view for my agents. The tickets are asigned to them or a their team

is there a possibility for a custom view

state is open
AND
(Ticket owner is $current user 
OR
Team is $user teammember)