My group name is Messaging and below filter is not working 

gs.getUser().isMemberOf('Messaging')