I have several teams and the requirement that the teams should not see the issues of the other teams. How do I have to define the issue level security?

I can set the security level either based on the reporter or based on a static group. But how can I set the security level based of the group of the reporter?