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

Hi,

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,

Christian

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
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 Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

64 views 0 5
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