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")
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.