Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,061
Community Members
 
Community Events
176
Community Groups

Challenges to multiply 3 custom fields

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:

Error rendering smart-values when executing this rule:
Unknown unary operator * at character position 8: 3.0 * * 3.0
-Jouni

 

2 answers

1 accepted

2 votes
Answer accepted

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

John Funk Community Leader Dec 14, 2022

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.

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?

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events