Hi guys,
I'm stuck at something incredibly stupid. I'm creating a script listener, that is checking if the user is in a group.
Line for the condition:
user.groups.includes("2nd Line")
And it's working for default group like jira-software-users, but if I'm adding any custom group it's always giving me FALSE as a result. Any ideas what is wrong?
OK, if anyone is looking for this, the correct one is
issue.assignee.groups.includes("Group Name")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.