I have the following expression for Edit issue field:
{{#=}{{issue.Impact.value}} * {{issue.Effort.value}}{{/}}
In the audit log, it says SUCCESS
but the field remains empty
Hi @Yulia Zhyliaieva
can you please add to you automation rule the action "log action" and add inside it {{#=}{{issue.Impact.value}} * {{issue.Effort.value}}{{/}} then try to run it and let me know what does it show in the logs of the rule.
also can you please share the type of the three below field:
- the filed you are trying to add to the result of {{#=}{{issue.Impact.value}} * {{issue.Effort.value}}{{/}}
- Impact
- Effort
All three fields are Number fields @Antuan Sammak
thank you @Yulia Zhyliaieva for sharing the above.
since the two fields that you are multiplying are custom fields, you need to do the following:
setting from top right corner
issues
custom fields
search for each of the two fields and click edit details
new page will open
in the browser URL, you will find a 5 digit code..replace each of the fields in your rule like the following ex: instead of {{issue.Impact.value}} use {{issue.customfield_xxxxx(code from previous step}}
Interesting update.I experimented and set the default value of Prioritization calculated field (the one that needs to be updated) to 0.
Once I ran the rule, it changed from 0 to empty
What are the types of those fields?
If they are numbers, you may used them directly with either of these methods:
{{#=}{{issue.Impact}} * {{issue.Effort}}{{/}}{{issue.Impact.multiply(issue.Effort)}}
The .value is only needed if the fields are selection fields.
Kind regards,Bill
Atlassian support replied and fixed my expression.Now it works:{{#=}}{{issue."Impact"|0}} * {{issue."Effort"|0}} {{/}}
It looks like you're new here. Sign in or register to get started.