Hi folks,
I've set up an automation that sets the estimates to 0 when a worklog is created, updated and deleted.
The problem is that when an issue with logged work is deleted the rules fails and I keep getting failed notifications.
I have many automation rules set up, but none of them fail when deleting an issue.
Is there any way to stop this?
Here's the automation and the error:

And here's the JSON I use to update the estimates:
{
"fields": {
"timetracking": {
"remainingEstimate": "0",
"originalEstimate": "{{issue.timetracking.originalEstimate}}"
}
} }