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?
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.