Hi,
I'm using jira automation plugin and my goal is to multiply 3 number fields and assign result to fourth, what is my mistake ?
Current formula:
{{#=}}{{issue.Harm severity (after mitigation)}} * {{issue.Propability of occurence (after mitigation)}} * {{issue.Propability of harm (after mitigation)}} {{/}}
Error:
In case you have error with description "Unknown unary operator * at character position" then one thing to try is to rewrite field names again / copy paste those ex from custom fields.
Hope that this helps somebody.
-Jouni
Yes, you should always copy and paste the full and exact field name to be sure it is correct.
Another thing to do is use the custom field ID instead of the name. Names With characters like ) always make me leery when using in smart values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jouni,
my first idea is an empty field. So if you get the result 3.0 * * 3.0 one number ist missing. Maby the value of issue.Propability of occurence (after mitigation) is empty?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Patrick,
I got this just solved just by copy pasting field names from another page and suddenly formula just started to work :) I didn't see any differences, but end of the day only result matters.
Br, Jouni
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.