This is not possible by using out of the box capabilities in Jira.
There are few workarounds which are explained here: https://community.atlassian.com/t5/Jira-questions/JQL-Query-for-Summing-Completed-Story-Points-Per-Assignee/qaq-p/693847
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events