I'm facing an issue with Jira automation rules where calculations involving custom numeric fields either return 0
or None
, despite the fields being correctly populated with numbers. Here are the specifics:
Reach
, Impact
, Confidence
, Effort
(all numeric fields){{#=}} 2 * 3 {{/}}
work correctly and return 6
.0
or None
.{{#=}} {{issue.Reach | toNumber}} * {{issue.Impact | toNumber}} * {{issue.Confidence | toNumber}} / {{issue.Effort | toNumber}} {{/}}
.Steps Taken:
default()
and toNumber()
to handle empty or null values.Request:
0
or None
when using custom fields in math expressions.Appreciate any help or insights!
Hi @Stephen Edvi ,
welcome to the Atlassian Community!
Please see here, the sections about Multiply and Divide.
Also, toNumber should probably be replaced by asNumber (see here).
What I'm trying to say is that I believe syntax should be different with a usage of dots...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.