Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

A workflow validator that is based on the result of a Jira expression. If the Jira expression returns false, a validation error message will be displayed. 


To add the 'Scripted (Jira expression) Validator' to a transition:

  1. Click Edit for the workflow that has the transition you wish to configure the condition on.
  2. In the Workflow Designer, select the transition.
  3. Click on Validations in the properties panel.
  4. Click on Add validation.
  5. Select Scripted (Jira expression) Validator from the list of conditions.
  6. Click on Add to add the validator on the transition.
  7. Input a Jira expression in the Jira expression field.
  8. For information on how to write a 'Jira expression' see How to insert information using Jira expressions.
  9. Click on Add to add the condition to the transition.


Panel

Related links :

Refer to the Use cases for validators page for use cases for this condition.

For information on how to write a Groovy scriptJira expression, see How to insert information using Jira expressions.


When you add this validator to a transition and trigger the transition, the add-on checks the result of the Jira expression. If it returns true the validation will pass. If it returns false or any non-boolean value, a validation error message is displayed.