Forums

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

Get notified when a field value CHANGES (not just gets updated)

Mee Soo
Contributor
July 25, 2023

I have a simple automation that sends a Slack notification when a particular field is changed.

The problem is is will sometimes notify when nothing has changed.

Since the field in question is present on the Resolve issue screen (where it can only exist in Edit mode), I understand that the field will get updated (even though nothing was changed) when that screen is submitted, so I added some logic to only send the notification if the old value and the new value are different (and even added a trim() to the comparison).

But still, I am getting notified when nothing has changed.

Any ideas?

Thanks.

diff.jpg

1 answer

0 votes
Trudy Claspill
Community Champion
July 25, 2023

Hello @Mee Soo 

Try using the Log action to print to the Audit Log the two values you are comparing to confirm what is actually being compared.

Mee Soo
Contributor
July 25, 2023

Thanks Trudy, I have done that. They are identical. I ran the 2 values through a diff program and there are no differences. Even in the Issue Activity log, I can see the update with the 2 values, and they are identical.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events