On this page



Use case

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.


Configuration

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.


Expression

Add the following expression:

withinCalendar({issue.dueDate}, "my_calendar", LOCAL)



Error message

Optionally, enter an error message something like this:

Unfortunately you're trying to execute this transition outside of our business hours.
Please try it again on:
Mon - Thu 08:00-15:00, 16:00-19:30
Fri 08:00-15:00.





Screenshots


Related use cases




JWT feature

Workflow function

Logical validator

Logical condition

Parser functionswithinCalendar()
Label





Status
Tech review

Style guide

- needs screenshot and lang. review