Remove either the label use-case-smart-text or use-case-smart-number depending on the feature the use case is based on
Use caseReturn the difference in days between the current day and the earliest due date from the sub-tasks of the current issue. |
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} |
|