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,559,630
Community Members
 
Community Events
185
Community Groups

Calculations in Automations

Hi all, I have 3 custom fields that contain numerical values. (say a, b and c) I want to set up an automation that is fills a 4th custom field with the value of a x b x c.

The values are actually a number that represent severity, probability and easy of detection for a specific bug. The multiplication of these number a x b x c will produce a number called RPN (Risk Priority Number) that will indicate the priority to work on fixing a bug.

It's a bit silly that we have to manually doc this calculation is any of the parameters change, so I was wondering if an automation is possible to do this?

I'm not so familiar with Jira yet, so your help is appreciated.
Thanks!

5 answers

2 accepted

1 vote
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 03, 2023

Hi @Henk Heijmink ,

you can use automation smart values. Example below...

{{issue.CF1}} * {{issue.CF2}} * {{issue.CF3}}

You basically use the edit issue action and select your CF4 and set the value to the above expression.

Thanks Jack! Very helpful!

0 votes
Answer accepted
Fazila Ashraf
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 03, 2023

Hello @Henk Heijmink 

You can use the smart value math expressions -> https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/ in your automations.

Thanks Fazila! Very helpful!

Like Fazila Ashraf likes this

{{#=}}{{issue.customfield_10091}}{{/}}{{issue.customfield_10090}}{{*}}{{issue.customfield_10081}}{{*}}{{issue.customfield_10092/100}}

Anyone got feedback to this calculation which leads to the error EINIGE FEHLER (some errors/non specified)?

1st. I set triggers

2nd. I added smart-value-variable {{totalscore}} (does not know if that is actually necessary)

3rd variable creation (total score field value) with the above posted calculation.

Hey guys,

I really appreciate your q&a as it helps me with orchestrating a calculation on the score of tickets combining Foxly Score and other values like customer mrr, ticket views or ticket votes.

However, using smart values I am troubled with the #= expression, as there are no fields suggested.

Let's assume my ticket fields are "Upvoty Votes" with a numeric value, same as "Upvoty Views".

When I type down "{{x=" I thought there'd be a popup dropdown of all my available fields. However, I do not find a solution on how to express the different ticket fields that I have in the project.

Can somebody help?

Hi @Henk Heijmink,

In case you need a good overview of the risks in addition to their calculation, there is a number of risk apps for Jira available on Atlassian Marketplace that could come in handy.   

Suggest an answer

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

Atlassian Community Events