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

This widget could not be displayed.

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
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

203 views 1 3
Join discussion

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