I recently upgraded my Jira Core & Software to 8.5 from 7.13 and I am getting now an exception in the postfunction from ScriptRunner.
And it shows nothing if I want to edit the script that I wrote.
When I upgraded from Jira 7 to Jira 8, I had issues with selecting issues by jql (within the scripts).
I have posted the solution here:
Your problem is definitely something different though. I dont send emails by script.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event