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 ^
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.