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!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.