Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-3592

Workflow validators result in error when using name

XMLWordPrintable

      Using a workflow validator and using the name in the exception results in an error in the attached screenshot:

      throw new com.opensymphony.workflow.InvalidInputException("summary", "Summary is incorrect")

      The expectation is that the error message will be displayed next to the summary field.

      The following will not work:

      throw new InvalidInputException("summary", "Summary is incorrect")
      

      But the following will work although not by the field:

      throw new InvalidInputException("Summary is incorrect")
      

              pteen pat (Inactive)
              4c1113d0d9eb adammarkham
              Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: