JQL functions
projectGroups()
Plugin provides JQL function projectGroups() that allows you to search issues based on project is included in specified groups.
project in projectGroups("Design")
You can provide multiple groups:
project in projectGroups("Design", "Development")
Please note that if you have several groups with same title, function will return all projects in all groups with that title.
projectGroupsHierarchy()
projectGroupsHierarchy() works similarly to projectGroups(), except that it returns issues in the projects of the specified group, as well as all of its subgroups at all levels.