...
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.
Include Page Custom Error Message Custom Error Message
Example
A workflow is configured so that the 'Resolve' transition has the 'Date Compare' validator where 'Resolved Date' <= 'Due Date'. If a user attempts to resolve an issue on this workflow, where the 'Resolved Date' is after the 'Due Date', the validation will fail and the transition will not be completed.
...