Trigger Jira automation if a user is out-of-office

Trigger Jira automation if a user is out-of-office

Whenever a user is assigned to a work item, a Jira automation can be triggered. You can use this in 2 ways:

  • Via Automation action “Manage out-of-office

  • Via special Custom Field “Out-of-office status (assignee)

Via Automation action “Manage out-of-office

More information see Jira Automation Integration

Via Custom Field “Out-of-office status (assignee)

To enable this feature, navigate to the “Out of Office Sync for Jira and Microsoft” app configuration in the Jira administration. The configuration page “Manage app features“ has a section “Update custom field for assignee out-of-office status”. The feature is disabled by default and can be activated by clicking the toggle button.

custom-field.png

More details on how it works

By activating the feature, “Out of Office Sync for Jira and Microsoft” will write data to the custom field “Out-of-office status (assignee)upon assignee change. A Jira automation rule can now be triggered by listening to changes on that field.

Trigger a Jira automation rule

Jira administrators and project administrators are allowed to create Jira automation rules. To trigger a Jira automation based on the out-of-office status, use the trigger “Field value changed“ with the field “Out-of-office status (assignee)”.

Bildschirmfoto 2025-03-31 um 10.47.37.png

Custom field data of “Out-of-office status (assignee)”

The custom field will provide additional information about the current assigned user upon work item assignment.

Data object

{ isOutOfOffice=true, endDateTime=2026-04-17T16:00:00.000Z, accountId=71xx20:93xx78a4-9a34-4021-80d2-d3060xx55cd1 }

Details

isOutOfOffice

true if user is out-of-office otherwise false

endDateTime

Contains an ISO-8601 date time string until when the user will be out-of-office. Data only available if user has set an end date in the auto reply settings in Outlook.

accountId

The account id of the assigned user

Smart value

{{issue.Out-of-office status (assignee)}}

The field “Out-of-office status (assignee)” will hold the data object and can be used in automations like in this:

{{issue.Out-of-office status (assignee).isOutOfOffice}}

Example to check the out-of-office status.

Example Automations

Here are some example automations to make use of the automation trigger.