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're welcome!
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.