Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Avoid Updating Field Based on Condition?

Rita Arellano
Contributor
April 25, 2025

Hello there, 

There is a piece in my automation that is not working. I have highlighted it, all else works as expected. Basically I would like to exclude story's with the component = XYZ and a status = Done from having the following fields updated: Fix Version, Target Release, and Summary each time the epic is updated. Can someone let me know what I am doing wrong? Not to Edit.jpg

1 answer

0 votes
Walter Buggenhout
Community Champion
April 25, 2025

Hi @Rita Arellano,

Have you tried updating your initial query to exclude the items you don't want to update? Something like:

For JQL:

"Epic Link" = {{triggerIssue.key}} AND issuetype = Story AND (fixVersion is
not empty OR "Target Release" is not empty) AND component != XYZ AND
status != Done

Hope this helps!

 

Suggest an answer

Log in or Sign up to answer