Type: Function
Function: IF_NULL
Syntax: IF_NULL(value, fallback_if_null)
Description: Returns the first value or the second value (fallback) if the first one is null
. The value and its fallback must have the same type.
Sample usage:
IF_NULL(assigned_at, created_at)
returns theassigned_at
field value or thecreated_at
field value when the former isnull
.IF_NULL(merged_by_username,β-β)
returns the username of the person who merged the pull request orβ-β
if the pull request has not been merged.