We have a workflow where issues move from Development Complete to Feature Complete. We want to make it so that a set of users are notified whenever an issue moves through this transition, except if the issue has a certain component (called 'PDR'). I think it's the core JIRA component field, which can hold multiple components, but am not sure (I'm fairly new to JIRA).
I'm trying to do this by creating two transitions, with different conditions. One has a notification in the post condition, and one doesn't.
First transition:
issue.components*.name.contains('PDR')Second transition:
! issue.components*.name.contains('PDR')The first works, but the second doesn't seem to work.
Can anyone tell me what I'm doing wrong? Thanks!