Calculate Text based on two other fields

I have a risk register and want a field to automatically calculate the risk rating based on consequence and likelihood. If you are able to provide examples on how to do this I can build in our risk rating matrix into the code. Thanks :)


For example:

Field 1 (Consequence) = "Moderate"

Field 2 (Likelihood) = "Possible"

Field 3 (Risk Rating) to specify based on Field 1 & 2. In this case "Medium 5"



1 answer

Hi Shane. One approach is to write calculations in Groovy, using the ScriptRunner add-on. It's a little tricky because you need to work with custom field option ids. If you go that route, all power to you; but the alternative is to install the Risk Register add-on, of which I am the author. Wishing you every success, no matter which way you go.


Thanks David, I will look into it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,660 views 18 21
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