Basic - Unassign an out-of-office user
A very basic case is to prevent issues from being assigned to out-of-office users. This can be achieved by adding an automation rule that will immediately unassign the issue if the newly assigned user is out-of-office. In combination with the default active out-of-office notification feature, the user who tried to assign an out-of-office user will also be notified.
Configuration of the rule
Create the rule
The rule itself contains a “Field value changed“ trigger, a check if the custom field value contains an isOutOfOffice to equal true and the action to unassign the issue. The data object in the custom field will provide information about the out-of-office status. More details about the data object can be found here.
{{smart values}} condition
First value:
{{issue.Out-of-office status (assignee).isOutOfOffice}}
Condition:
equals
Second value:
true
Variation: Assign issue to a person in a group
It is also possible to reassign an issue to a person in a group if the current assignee is out-of-office.