Hello!
I need to create a workflow condition (Via scriptrunner) that allows transition only if the issue has one of the specified components. This is what I tried:
'ComponentA' in issue.components*.name || 'ComponentB' in issue.components*.name
Which means that if ComponentA or ComponentB is a component of the issue, allow transition.
But this does not work. What am I doing wrong?