As documented in https://docs.adaptavist.com/sr4jc/latest/features/scriptrunner-jql-keywords-functions/enhanced-search-included-functions/agile-functions the following agile functions are available on ScriptRunner for Jira Server, but not available on ScriptRunner for Jira Cloud:
Please make these functions available in Jira Cloud, so that a full sprint report can be gathered through ScriptRunner filters.