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!
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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...
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!
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