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

0 votes
Accepted answer

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.

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 Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

344 views 0 1
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