Remove either the label use-case-smart-text or use-case-smart-number depending on the feature the use case is based on

Use case

Return the averaged number of days since the sub-tasks of the current issue were created.

Expression

Create and configure a Smart field using this expression in General parsing mode:

%{floor(avg(toNumberList(jiraExpression("issue.subtasks.map(i=>(Number(new Date())-Number(i.created))/1000/60/60/24)"))))}


Feature

Field type

Smart number field

Parsing mode

General

Expression
%{floor(avg(toNumberList(jiraExpression("issue.subtasks.map(i=>(Number(new Date())-Number(i.created))/1000/60/60/24)"))))}
Label
Use case description

Return the averaged number of days since the sub-tasks of the current issue were created.

Complexity