Need script help!!!
Scenario: I have 5 members that belong to a group called say HR. I have 100 tickets assigned to this group that I would like the 5 group members to see. When a ticket gets assigned to a group member then I no longer want that ticket to be visible by the group but only by the member in which the ticket was assigned. If the ticket is reassigned back to the group then I want the ticket to be visible by the group again.
If the ticket is closed with the group members name associated with the ticket then I would want any closed ticket to be visible by the group as well.