Hi guys,
I'm trying to use this script, but I get an syntax error, even though I followed the recommended instructions (https://docs.adaptavist.com/sr4jc/latest/features/workflow-extensions/jira-expression-examples -> user.getProjectRoles(project).some(p => p.name == "userrole")), using ID instead of NAME, but its the same result. Any help is appreciated:
Thank you in advance
Error
Unexpected input: '(project).some(role =>' @ line 1, column 42. jectRoles(project).some(role => role.id ^