Jira Automation for Asset Updates

Matthew Berzinskas
Contributor
January 14, 2025

Hello - I am trying to create a Global Automation that triggers when a specific asset attribute is updated.

I have found, and am familiar with checking for when an object is updated in general, and then retrieving the values from a webhook response, but I can't seem to find a way to conditionally check what attribute was updated.

For example, if an asset's attribute like "First Name" gets updated, I wanted to perform some action.

I've tried extracting the value of

{{webhookResponse.body.first.affectedAttribute}} 

And then comparing it, like:

{{webhookResponse.body.first.affectedAttribute}} 

equals

"First Name"

But this always seems to fail. Is there a better, or working, way to check for which field of an Asset/Object was updated?

Following this article:

https://confluence.atlassian.com/jirakb/assets-automation-trigger-rule-based-on-attribute-update-for-jsm-cloud-1456179255.html

The above should work, but it always fails. Is there some special formatting in the attribute names?

1 answer

1 accepted

1 vote
Answer accepted
Matthew Berzinskas
Contributor
January 14, 2025

It didn't like the quotes in the value I was comparing against.

Simple mistake I guess.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events