Hello
When I put ABC.groovy into script directory after scan I found in jira log:
2017-01-03 22:01:28,407 ajp-nio-9096-exec-1 WARN 123071 1321x814x1 15s10ob 10.160.180.35 /rest/scriptrunner-jira/latest/jqlfunctions/scan [c.o.scriptrunner.runner.ScriptRunnerImpl] Script
\JIRA_DEV-4.4.5-ORS-DATA\scripts\com\onresolve\jira\groovy\jql\ABC.groovy failed to load/compile: startup failed:
file:/D:/JIRA_DEV-4.4.5-ORS-DATA/scripts/com/onresolve/jira/groovy/jql/ABC.groovy: 17: Can't have an abstract method in a non-abstract class. The class 'examples.ABC' must be declared abstract or the method 'java.lang.String getFunctionName()' must be implemented.
@ line 17, column 1.
class ABC extends AbstractScriptedJqlFunction {
^
file:/D:/JIRA_DEV-4.4.5-ORS-DATA/scripts/com/onresolve/jira/groovy/jql/ABC.groovy: 17: Can't have an abstract method in a non-abstract class. The class 'examples.ABC' must be declared abstract or the method 'java.util.List getArguments()' must be implemented.
@ line 17, column 1.
class ABC extends AbstractScriptedJqlFunction {
^
file:/D:/JIRA_DEV-4.4.5-ORS-DATA/scripts/com/onresolve/jira/groovy/jql/ABC.groovy: 20: Method 'validate' from class 'examples.ABC' does not override method from its superclass or interfaces but is annotated with @Override.
@ line 20, column 5.
@Override
^
3 errors
What do I wrong ?
JIRA Software 7.2.4, script runner 4.3.15