...
You must select the two date fields and the window period, 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 'Close' transition has the 'Window Dates' validator. The 'Resolved Date' is validated using a window of 5 days with respect to the 'Created Date'. If a user attempts to resolve an issue on this workflow, where the 'Resolved Date' is more than 5 days after the 'Created Date', the validation will fail and the transition will not be completed.
...