Hi, is there a way to capture if the script fail and send a email to the user?
Like the error below:
2013-01-15 15:57:52,398 http-8080-3 ERROR wallace.qld.shop 957x311891x1 uy5cz0 10.0.0.10 /secure/CommentAssignIssue.jspa [onresolve.jira.groovy.GroovyFunctionPlugin] Error executing post-function
javax.script.ScriptException: javax.script.ScriptException: java.sql.SQLException: Network error IOException: Connection refused
Wrap stuff in a try/catch block... you can do what you want in the catch block.
Doesn't sound like suitable content for an end user though... the person that wrote the script should add exception-handling appropriate to what the exceptional case is...
Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG