Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-71672

Run all Validators (continue on failure) during workflow transition

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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.

              Unassigned Unassigned
              esantos@atlassian.com Eduardo Santos (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: