...
The 'Date Compare' validator compares the values of two date fields on the issue (for example, one field must be greater than the other). If the validation fails, the transition will not be completed.
Configuration
You must select the two date fields and the comparison function for the validator, when configuring the transition. For example:
For information on how to configure a validator in JIRA, see the JIRA documentation.
...