Hi guys,
i'm trying to dev an automation to Decrement the field "Total Issues in Project" when i delete any issue. So, if i delete one issue, the field will receive field -1;
but it's not that simple. When the deletion of the issue trigger the automation, it's lose the reference because, technically, the issue that triggered the automation does not exist anymore on the project.
I take this screenshot to explain better:

The code on edit item field action: {{#=}}{{issue.customfield_10177}} - 1{{/}}
Sorry my bad english,
Yours Marcello Raffles