I'm attempting to run the attached js script as a post function between two workflow steps. Upon execution, the post function seemingly does not execute and the system behaves exactly as it did before I added this new post function. I'm unsure where the error log might exist for JIRA so instead I'll step you through some of my troubleshooting techniques to date:
(lockedestimate.js.txt) (stacktrace.txt)
That's not javascript (js), that's groovy, as such it needs to have the extension .groovy.
The exception shows you that the wrong interpreter is being invoked:
sun.org.mozilla.javascript.internal.EvaluatorException
If you have applied the updated workflow with the script post-function, there will be an exception in the logs.
worked like a charm. it's always the simple things that end up consuming far too much time. ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think this is a different problem, please ask a new question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Consider it confirmed. I decided it use an absolute path since $CATALINA_BASE looked not to be set. That path is D:\JIRA\work\Catalina\lockedestimate.js where D:\JIRA is the path for our JIRA install.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tanner,
Could you confirm that you have checked the notes from Jamie here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.