Skip to main content
Skip table of contents

Difference between the current day and the earliest sub-task due date

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

Configuration

Create a Custom smart number field and use the General parsing mode.

Expression

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

Format

Default

Used parser functions

The links lead to the JWTC documentation because the parser functions are shared functionalities.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.