Field(s) Required Validator

This validator checks that the selected fields have a value as the issue transitions in a workflow. If any of the specified required fields are empty, the issue does not transition and an error displays.

For example:

  • You want to ensure the system field Fix Version/s field has a value before the issue can be transitioned to Done. 
  • You have a Purchase Order Number database picker field, you want this to be completed before the issue can transition to In Progress

To set up a Field(s) Required validator do the following:

  1. Select the Field(s) Required [ScriptRunner] validator.

    For details on how to navigate to ScriptRunner workflow functions, see Navigating to Workflow Functions.

  2. Enter a description of the validator in Note.
  3. Enter the Condition for which the validator fires. If you leave this blank, the validator will run on all issues in the workflow.
  4. Select the Required Field(s).

  5. Click Update.

    Only fields that are configured in the associated transition screen are listed in the Required Field(s) drop-down. To find out which screen is associated with a transition, click on the transition in your workflow diagram. The associated screen is displayed. Click on the screen name to be taken to the Configure Screen page.