Percentage of resolved child work items
This template displays the percentage of work items under an epic or a standard work item that have a resolution.
Configuration
To use this template, simply select it from the template grid.
Parameters
This template does not require any additional parameter configuration.
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
Jira expression:
let children = (issue.isEpic ? issue.stories : issue.subtasks);
children.length ? (children.filter(child => child.resolution).length / children.length * 100 + '').slice(0, 4) + '%' : ''