Script runner (or alternative) to run calculations after bulk edit


I'm facing a huge problem. Currently I'm calculation a custom field "defect value / serverity" based on the values of certain other custom fileds using the behavious plugin.

Now my customer wants to edit one of these field by bulk edit every release. That should trigger the behaviour or the calculation to re-calculate my defect value. Is there any possibility other than developing a plugin etc. to get around that problem?

Maybe a temporary global transition with the calculation as a post-function...

Thanks for any help,


1 answer

1 accepted

1 vote

Can't you use a calculated custom field? If it's the case that the value is calculated but then can be overridden by the user, then use the behaviours plugin. Otherwise, a calulated custom field is the better option.

Script runner plugin has "scripted fields", should you wish to use groovy.

Well, I have the code used in my behaviour.. Could I use the same code on a scripted field? I mean basically what I'm doing is running the same script on every custom field used to calculate my defect value in case on is getting updated.

Not the same code but similar.

Don't need to calculate anymore. Maybe I can get back to you if I need to create some scripted fields... Thanks anyway

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...

546 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