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

Implement Workflow Validator on Edit Action

XMLWordPrintable

    • 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.

      Hi Atlassian

      My initial requirements were to be able :

      • to display errors raised by validator defined in the initial-action.
      • to define a validator verifying that at least one of two fields was entered during the Create or Edit action.

      Following my post done on JIRA Dev. Forum, I made more investigations ...

      It appears that :

      • Validators, defined in an inital-action of a Workflow, are executed during the doExecute(),
      • Only InvalidInputException raised during doValidate() (resulting from Field validation depending on FieldConfiguration) are interpreted to provide a focus on the field in error.

      I developped an enhancement described in KAAM-190

      Let me known about your opinion.

      Rgds
      Vincent

            Unassigned Unassigned
            5d77aaa81033 Vincent Thoulé
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: