There are huge errors when requiring fields in workflows. This seems to be directly related to the Jira Suite Utilities plugin since it is using that class for that validation for the fields causing issues.
I have attached both the XML for one of the workflows and the dump from the logs for the error.
Let me know if any other information is needed. Thanks.
(SuiteUtilitiesError.log) (ETS.xml.txt)
I see what you need now. Have a look at https://answers.atlassian.com/questions/40838/how-to-avoid-invalidinputexception-stacktrace-in-log-using-custom-validators
It is JIRA who is printing the error to logs and plugins cannot handle it.
That is just the way the plugin has been implemented. Sometimes it is really important to know what happens during a transaction. Apart of your use case, where the error simply reports what you expect, input for a given field is missing, in most cases it is there to tell us that the admin misconfigured something.
Please have a look at the link below, you may file a new issue, like an improvement, to no longer print out the whole stack trace to the log, but instead only the really important information:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Comes from JSU plugin but because there is a required field configuration on the "Close" operation for "Time Spent". Either you remove it or log some time before closing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I understand that it is requiring the field, however, i don't agree that if someone didn't fill in that field, there should be 169 lines written to my logs. The problem i am reporting is that this is throwing an error and stack trace into my logs for correct functionality.
I would like to know how to keep using the plugin, while also keeping my logs clean. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.