Calculated Fields in Jira Edited

Hi All,

I have two fields Risk score and Risk severity which are associated to risk issue type. Risk score is a calculated number field which is configured as multiplication of impact and probability. 

i was able to successfully configure Risk score, the next requirement is  i would like to select the risk severity which is a single select based on Risk score. For instance: 

if Risk score is 1-10 then severity is low

10-20 then it is medium 

20-30 then it is high, i would like to know whether we can achieve this in jira. Any help provided will be really appreciated.

 

Thanks,

Vijay

2 answers

Have you seen Risk Register for Jira?

Disclosure: I'm the vendor.

Can we achieve this with out add-on ? 

No.  There's no functions for scripted or calculated fields built in. 

The Risk Register David mentions is specialised for risks and fits your case very well.  It may be worth a look at other scripting add-ons if you have other calculations to do though.

Hey @Contour Plug In,

Unfortunately this kind of calculation and dependency between fields can't be done in JIRA without using add-ons.

If you are open to trying an add-on, I'd recommend Power Scripts. With just a few lines of code, you can perform your risk scoring.

Here's a short video guide that shows a very similar setup for doing field calculation. You'll need to customize with your algebra and custom field numbers.

And here's the sample script:

//Calculate the issue score//Used by customfield_10702 -  Issue Completeness Score int score = 0; if(isNotNull(assignee)) {    score += 10;}if(isNotNull(dueDate)){    score += 10;}if(isNotNull(description)) {    score += 10;} if(score < 10) {    return "Bad";}else if(score >= 10 and score < 20) {    return "OK";}else if(score >= 20 and score < 30) {    return "Good";}else {    return "Great";}

Hope this helps!

Johnson

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Apr 30, 2018 in Marketplace Apps

Why moving to Confluence Data Center is only a job half-done

Confluence Data Center is a deployment option that was designed for performance at scale. In other words, Confluence will handle increased traffic much reliably in a clustered environment and yo...

225 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you