Average time since creation of sub-tasks
Return the averaged time since the sub-tasks of the current work item were created in duration format.
Configuration
Create a Custom smart number field and use the General parsing mode.
Expression
%{floor(avg(toNumberList(jiraExpression("issue.subtasks.map(i=>(Number(new Date())-
Number(i.created)))"))))}
Display as
Duration
Formatting style
Long
Used parser functions
The links lead to the JWTC documentation because the parser functions are shared functionalities.