For the triggered value of https://developer.atlassian.com/cloud/jira/platform/modules/workflow-post-function/
The change log inside context for custom field having asset object has extra square brackets? Check from and to.
{
"id": "345987",
"fields": {
"Affected Laptops": {
"fieldtype": "custom",
"from": "[8a8a9957-22c0-4bf9-92da-6e557bc4b962:10]",
"to": "[8a8a9957-22c0-4bf9-92da-6e557bc4b962:14]",
"from_string": "Macbook 1",
"to_string": "Macbook 2"
},
"customfield_12200": {
"fieldtype": "custom",
"from": "[8a8a9957-22c0-4bf9-92da-6e557bc4b962:10]",
"to": "[8a8a9957-22c0-4bf9-92da-6e557bc4b962:14]",
"from_string": "Macbook 1",
"to_string": "Macbook 2"
},
"priority": {
"fieldtype": "jira",
"from": "10007",
"to": "10006",
"from_string": "Major",
"to_string": "Critical"
},
"status": {
"fieldtype": "jira",
"from": "10108",
"to": "10109",
"from_string": "Waiting for support",
"to_string": "Waiting for customer"
}
},
"changes": [
{
"fieldtype": "custom",
"from": "[8a8a9957-22c0-4bf9-92da-6e557bc4b962:10]",
"to": "[8a8a9957-22c0-4bf9-92da-6e557bc4b962:14]",
"from_string": "Macbook 1",
"to_string": "Macbook 2",
"fieldId": "customfield_12200",
"field": "Affected Laptops"
},
{
"fieldtype": "jira",
"from": "10007",
"to": "10006",
"from_string": "Major",
"to_string": "Critical",
"fieldId": "priority",
"field": "priority"
},
{
"fieldtype": "jira",
"from": "10108",
"to": "10109",
"from_string": "Waiting for support",
"to_string": "Waiting for customer",
"fieldId": "status",
"field": "status"
}
]
}