How to update an Assets Object field with the value of an attribute from another Assets field using Automation?
Hello everyone,
I'm working with Jira Service Management and trying to automatically update an Assets Object field based on an attribute from another Assets field using an automation rule.
I have two object types in my Assets schema:
Each Product has an attribute Service, which is a reference to an object in the Services schema.
In my JSM, I have two custom Assets Object fields:
If a user selects "Jira Software" in the "Product" field, then the "Service (test)" field should automatically populate with "Atlassian Support".
I Have Tried:
serviceKey
storing {{issue.Produit.Service.key}}
.{ "fields": { "customfield_9999": [ { "key": "{{serviceKey}}" } ] } }
Whit this:
Is the JSON format correct for updating an Assets Object field? Is there a better approach to dynamically retrieve and inject the "Service" attribute into the "Service (test)" field?
Thanks in advance for your help!
Hello @Fredson N_ da Silva
Have you tried simply selecting the "Service (test)" field and setting it using AQL that finds the asset object with the matching key value?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.