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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

158 views 1 17
Join discussion

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