When a user is out-of-office for longer then a day during issue assignment the issue can be reassigned to a specific user or a user of a group. The new assignee will be notified about the reason with comment on the issue.
Configuration of the rule
Create the rule
The rule itself is based on the example Basic - Unassign an out-of-office user. So after checking the users out-of-office state the following steps can be added.
Create a variable “oooEndDate” to store the “endDateTime” from the data object.
Check if the “oooEndDate” is empty OR the date difference is bigger than 1
Temporarily store the current assignee display name in a variable “oooassignee“
Assign a specific user or an user from a group
Re-fetch the data of the issue
This step is needed to get the new assignee from the previous step