Average time since creation of sub-tasks
Return the averaged number of days since the sub-tasks of the current work item were created.
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))/1000/60/60/24)"))))}
Used parser functions
The links lead to the JWTC documentation because the parser functions are shared functionalities.