Breadcrumbs

Sum field values in sub-tasks

πŸ“š

This template calculates the sum of the values of a selected field in all sub-tasks of the current work item.

Configuration

To use the Sum field values in sub-tasks template, simply select it from the template grid. Filter by Sub-tasks to find it faster.

Parameters

To complete the configuration, select a field for the required parameter.

Expert mode

If you switch to Expert mode you can see the Smart field in the Expression Parser. You can now tweak the expression to create a custom smart field based on this template.

Expression

General expression:

%{sum(fieldValue({issue.cfNNNNN}, subtasks()))}

NNNNN is the ID of the custom field you chose for the β€œField” parameter.

Display as

Number

Formatting style

###,###.##

Used parser functions

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