I'm trying to setup an automation that runs when an issue is created that adds additional Asset Objects to an existing Custom Field if the field contains a specific Object.
For simplicity:
Ticket Created with Custom Field "DOORs" populated with Object "Door 1".
I want Automation to update the field to be Door 1, Door2, Door 3 as well as any other objects that were already in the field.
I can see the field in the Edit automation component, but I'm not sure how to populate it with the additional objects.
I'm looking for the same thing. I can set the field to one thing and overwrite an existing object but I can't figure out the syntax to add a computer field through advanced field editing. Something like this *should* work give that 'aMachine' is the returned asset object.
{
"fields": {
"customfield_10170": [{
"workspaceId": "{{aMachine.workspaceId}}",
"globalId": "{{aMachine.globalId}}",
"id": "{{aMachine.id}}"
}]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.