Validators check that any input available to the transition (such as user-supplied input) is valid before the transition is performed. If a transition's validator 'fails', the transition's post functions will not be executed and the issue will not progress to the destination step of the transition.
You can use JJUPIN and SIL to define a large set of validators beside the default validators offered by JIRA, by just adding a (k) SIL Validator to a transition and publishing the workflow, as described here.
...
More useful mathematical routines can be found in the Math Routines section.
Validation based on date-time expression
...
More useful date routines can be found in the Date Routines section.
Compare two parsed texts
...