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

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.

0 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

78 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