Is the Edit-Field-Postfunction from plugin Behaviors available in ScriptRunner also?

In the Behavior plugin it was possible to have a Edit-Field-PostFunction (using e.g. class FormField ). I can't find this functionality in the successor ScriptRunner. But it was said that Behaviour was totally merged in ScriptRunner. E.g I want to calculate the original field Priority by two other (custom) fields and see the change of Priority already during editing the issue and not via the postfunction in workflow only.



1 answer

1 accepted

Tip: If you use the plugin labels the right people will respond, if you don't it's total pot-luck.

Yes, they are completely merged. It sounds like what you want is just the same behaviour applied to both custom fields, when they change the priority can be recalculated. For completely you would make the priority read-only (read-only to the end user).

If you do Admin -> Behaviours, it should be exactly as the old behaviours plugin. 

Thanks Jamie for the hint with the plugin labels. But there's no Admin -> Behaviours section anymore, or I can't find ;-) . I've installed ScriptRunner v 2.1.17. If I install Behaviours there's only the servlet that advises that the Behaviours plugin has merged with Script Runner. Thanks

Oh ok, so you are not update to date. If you are on jira 6.2 or greater you can install Script Runner 3 which contains both. If you are not, then you can install the last but one version of behaviours, or if you install from UPM it should give you the compatible version.

Ah ok that sounds good. I'll try. Thanks so far.

Everything working fine again. Thanks Jamie.

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,382 views 15 19
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