Hi there,
I have assets set in our site, the schema tree is like
Object schemas name: Tooling Log
Country/Area, then Manufacturer
And now I'd like setup an automation rule, when asset be selected in a ticket, automatically update value for some fields, and copy "Contact Name" and "Contact Email" value from selected value.
I tried following JSON script, but get error message "Failed to get value for assetFieldValue('Tooling Log', 'Contact Name')"
Can I get some advise for setting it up?
Thanks in advanced.
Hi @Jack Yang ,
You should be able to pull object's attribute value just by using the following smart value:
{{issue.customfield_XXXXX.Contact Name}}
where customfield_XXXXX is Assets field on the ticket, and Contact Name is the attribute name (in your example).
So, there's no specific need in this case to use additional fields section within the rule action.
For example, just write that smart value in the field input box in the edit work item action:
Hope this helps.
Cheers,
Tobi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.