Use condition with Set Field Value of Linked Issues Function

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

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,423 views 15 19
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