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:
- Gave the post function a bogus file path. It didn't so much as error out saying no such file.
- Ran the script on the "script fields" tab for groovy. I provided the script in the "script file path" to verify that the script was being found on the server. The script worked like a charm.
- Ran the script on script runner but it threw an error which I've attached.
(lockedestimate.js.txt) (stacktrace.txt)