I'm trying to enable an edit validator, and the documentation is out of date

I just installed ScriptRunner, and now I'm trying to enable an Edit Validator as per https://jamieechlin.atlassian.net/wiki/x/CYAS

Sadly that page hasn't been edited since 2012. As of right now these instructions are nonsensical:

Edit validators are new, and are disabled by default. To enable, go to Admin -> Script Listeners, then click the link to enable them. This will create another admin section "Script Edit Validators".

Adding validators is similar to adding listeners. Either use the "simple scripted validator", which applies a condition on the issue after edit, or write your own script using "Simple scripted validator using a file".

So, I'm looking for how to enable this really cool feature!

2 answers

1 accepted

This widget could not be displayed.

Well crap, not only is that documentation out of date, but what I really needed was the Behaviours plugin, which is ALSO not documented on that site.

Ah well, at least I know what I'm doing now.

This widget could not be displayed.

Sorry, the documentation for edit validators is way way out of date. It relied on monkey patching JIRA which turned out to be so viable, surprise surprise. I know there is a requirement for them... if only Atlassian made it possible for plugin authors to do something here.

The docn is going to be overhauled in the next few months, so at least I'll remove that.

As always Jamie, your work is appreciated and my above comment shouldn't be taken as a slight, more of a 'I hope someone finds this and avoids the mess I ended up in'. If there's any way I can help I'm more than happy to.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

459 views 3 17
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