Forums

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

assets automation smart values

reza rouhafza
Contributor
May 8, 2025

Hi

I want to set up an automation in Jira assets to send an HTTP request each time an Object is updated. The HTTP request should include the updated object's Previous and new attribute values. But I can't find any smart value for the changed attribute or its old and new values to use in the HTTP request. 

It would be nice to use the changed attribute smart value in the conditions too, to avoid running the automation for all the attribute changes.

Here's an example:

I have an Object type named "Team" and it has an attribute called "Members" that is a Jira user attribute. I want to send an HTTP Request (or an email) each time a member joins or leaves the team, with this information in it:

Team name: Hawks

old members: Jim, Bob, Emilie

new members: Jim, Jack, Judy

Asset automation - Copy.pngI can do this with the Jira automation and Scriptrunner triggers there, but I want to learn how to use the assets automation.

 

1 answer

1 accepted

0 votes
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 8, 2025

Hi @reza rouhafza 

On editing objects in an automation and then taking action, the action part is not aware yet on the update.

On the start of the rule the object contains values a.b and c and these will be used in the API/HTTP call as well.

The assets automation on server/DC is still using the old automation engine and has no action to re-fetch data before executing an action.

So I don't see a possibility to solve this in assets automation on server/DC

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events