I am trying to check if the custom field value = yes (It is a Radio Button) and if the user is in a specific group - using ScriptRunner - Jira Cloud - This is a Condition
Is this the best way to do that? Or is there a better way?
(
(issue["customfield_123"] || {}).value == "Yes" &&
user.groups.includes("Any_Local_Group_Name")
) ||