Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-16327

Run all Validators (continue on failure) during workflow transition

    XMLWordPrintable

Details

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      All validators must pass in order for a transition to complete. Currently an issue will fail as soon as one validator fails, without running subsequent validators. The disadvantage of this is that it staggers the error messages.

      For example in my transition I have several validators, in this order:
      1. Fields Required (About a dozen fields must be filled out)
      2. Date Compare (I want to validate some date fields)
      3. Comment Required (Using a custom plugin I ensure a comment is entered)
      4. User Picker Validator (Using a custom plugin I ensure a user picker has a minimum number of users selected and that they have been selected from a particular group)

      When a user submits a ticket in violation of all four validators they only see the error from 'Fields Required'. When the required field is added and they resubmit they will then see the error from 'Date Compare', and so forth. The overhead of running all validators is low and, while not logically necessary, having the ability to display all error messages simultaneously would enhance usability. I receive complaints from users who dislike having to keep correcting errors only to resubmit and receive a whole new set of errors.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              5d4d591c0d1e Eric Rawlins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: