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

0 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,176 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot