I am trying to create a Velocity Widget on one of the JIRA Dashboard. While defining the underlying JQL query, I am struggling to find a way to get story points completed within the sprint and story points completed outside the sprint.
We have recently migrated to JIRA Cloud from On-Prem Jira.
In On-Prem JIRA, this was possible using
issueFunction in completeInSprint(". I am trying to find a substitute in JIRA Cloud.