Function To find issues based on groups of a specific user. If no user is specified, current user is used.
Since : v1.0
Usage/Examples:
mygroupCF in groupsOfUser() - Returns all the issues that are having the value of 'mygroupCF' as one of current user's groups.
mygroupCF in groupsOfUser("someguy") - Returns all the issues that are having the value of 'mygroupCF' as one of 'someguy's' groups.
groupMatches
groupMatches(regex)
Function To find issues based on groups matching to a Java regular expression. The Java documentation shows how to construct a proper regular expression. The regular expression should be atleast 4 character long.
Since : v2.0
Usage/Examples:
"Test Group" in groupMatches("jira-a.*") - Returns all issues where 'Test Group' custom field has values starting with jira-a (Eg: jira-administrators, jira-admin etc)
"Test Group" in groupMatches(".*-users") - Returns all issues where 'Test Group' custom field has values ending with -users (Eg: DEMO-users, TEST-users etc)