Remove either the label use-case-smart-text or use-case-smart-number depending on the feature the use case is based on

Use case

Return the difference in days between the current day and the earliest due date from the sub-tasks of the current issue.

Expression

Create and configure a Smart field using this expression in General parsing mode:

%{max(fieldValue({issue.dueDate},subtasks())) != null ? ceil((min(filterByValue(fieldValue({issue.dueDate},subtasks()),!=, null )) - {system.currentDateTime}) / DAY) : null}

Used parser functions

Feature


Field type

Smart number field

Parsing mode

General

Expression
%{max(fieldValue({issue.dueDate},subtasks())) != null ? ceil((min(filterByValue(fieldValue({issue.dueDate},subtasks()),!=, null )) - {system.currentDateTime}) / DAY) : null}
Label
Use case description

Return the difference in days between the current day and the earliest due date.

Complexity