Setting a due date of an issue to a date outside of the company's business hours can cause confusions.
In the following use case the transition will be prevented if the issue's due date is not set accordingly.
Add the Logical validator to the desired workflow transition. You might want to place it within the create transition to prevent the creation of the issue.
Add the following expression:
Optionally, enter an error message something like this: