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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

202 views 1 18
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