"Value field" condition not working for two "not equal" conditions

We have a workflow set up which, at a certain point, diverges into one of two paths based on the values selected in two single select list fields.  For simplicity, I'll lay it out as follows:

Transition 1

Field A = Value X

Field B = Value Y

Transition 2

Field A != Value X

Field B != Value Y

The conditions for both transitions are set to "all of the following conditions."


The problem is that it doesn't seem to aggregate the two negative conditions properly for transition 2.  If either one of the values matches the != condition, the transition is no longer available. But they should BOTH have to be equal to those specific values before the condition kicks in and hides the transition.

I've tried configuring it to reference the values by name (string) and by ID, but get the same result regardless.

I'm guessing this is a bug?  But I couldn't find any way to contact support about the add-on, so hoping to find some assistance here.

1 answer

In case this helps anyone else, it seems to work if we use an "or" condition rather than an "and" condition (so, setting it to "any of the following conditions").  I still believe the logic is implemented opposite of what it should be, but this seems to work.

Hi Peter. I am having the same issue but am very new to coding in this environment, do you still have the code available that you used to achieve this please?

I didn't use code at all - just reversed from "and" to "or" in how the conditions are evaluated on that transition, as described above.

Thanks Peter. I think I have a different, although very similar issue. I'm trying to suppress an email being sent based on the below, but there's something wrong with he code meaning the email gets sent even though there is no value in the field (well, there is, it's the standard "None" JIRA value which usually gets picked up by null).

cfValues['Retail Support'] != null

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


242 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you