Use condition with Set Field Value of Linked Issues Function

Tamsin Slinn May 7, 2015

Hi,

I am using the "Set Field Value of Linked Issues" Post Function to set a field on subtasks when a parent issue is transitioned.

It works fine without a condition.

I tried to have a condition which only updates the subtasks if they are not closed.

I added this as a condition

linkedIssueObject.statusObject.name != "Closed"

The problem is that as soon as this returns false, it stops executing for any subsequent sub tasks. So oif the first sub task it comes to is closed, it doesn't update any of them. If the first one is open, it updates it, but then doesn't update any after it finds a closed one.

I've confirmed with logging that this is the case.

This seems like a bug to me has anyone else come across it? Thanks!

1 answer

0 votes
David _old account_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2015

This is indeed a bug, which has been registered as JMWE-331. It will be fixed in the next version of JMWE.

Thanks for reporting this.

Suggest an answer

Log in or Sign up to answer