Show aggregate story points for a specific Jira user group

SUM {
  IF JQL { assignee in membersOf('Group A') } :
  storyPoints
}
CODE

Note: Replace 'Group A' with the name of the group you want to calculate for.

Want to aggregate another value? Just replace 'storyPoints' with the attribute you want to calculate.