Remove either the label use-case-smart-text or use-case-smart-number depending on the feature the use case is based on
Use caseReturn the sum of the number of attachments in the sub-tasks of the issue. |
Create and configure a Smart field using this expression in Jira expression mode:
issue.subtasks.map(subtask => subtask.attachments.length).reduce((a, b) => a + b, 0) |
|