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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

73 views 0 5
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