So I'm trying to use Jira Automation to do a simple Value / Effort calculation.
We use a field "Priority Score" to represent value and we use the Jira "Original Estimate" field to represent the effort.
I want to divide one by the other.
After some trial and error I've landed on the following which is intended to populate the numeric field "Net Priority Score" whenever an issue is updated.
{{#=}}{{issue.fields.priority score.divide.issue.fields.originalestimate}}{{/}}
I look in the Automation audit log which proudly tells me "SUCCESS".
However when I then look at the issue I edited, the "Net Priority Score" is simply null.
I can confirm the 2 fields in the calculation both have values defined
Send help.