As a Scriptrunner user
I want to be able to find workflow scripts that are throwing errors by just referring to the stack trace / error
so that I can quickly find the workflow where the script is and also if it is a condition, validator or a post function
If you create a bad workflow script that will fail on transition, we mention the action id of the action clicked and we can tell the workflow from the KEY of the Issue ID as we see an error like this:
But it might help customers find the problem script quicker if we printed the workflow name, the name of the action and the note used in the function definition to help them find it quicker.
It would be good to also mention in the error that it is a post function, condition or a validator. For example, in the above example as it is not obvious that it is from a post function