Hi,
Is there a way to enable email notifications whenever a "Custom script post-function (inline script)" in an e.g. Issue state transition, fails?
I know there is a message written to the log, is there a way to enable email notifications whenevere there is an error in the log? Or write a listener which listens for errors in the log?
Thanks,
T
If you know exactly what kind of exception is thrown when your script fails, you can use a try-catch closure in your code to send an email whenever this error occurs.
Yes, I can do this, but I have dozens of scripts and want to avoid changing all scripts and I would like to cover a wide range of exceptions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then I suggest using a 3rd party log analyzer or you can write your own script which would run on schedule and check your logs for errors, and send you notifications.
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.