Hi All,
I followed the steps provided in the Atlassian support article (Display Epic completion percentage on Jira Dashboard | Jira and Jira Service Management | Atlassian Support) Display Epic Completion Percentage on Jira Dashboard to create an automation rule in Jira Cloud that updates the Epic Completion % based on the status of its child work items. However, the Epic Completion % is still not displaying as expected.
Could you please advise on what might be missing or how to resolve this issue?
Thanks in advance!
Thank you!
Hi @Siva Muthusamy
Welcome to the community.
Does an Epic contain issues from multiple projects, if so does the automation rule scope has been set to the relevant projects?
Epics contains child work items from 1 project only.
Show you automation rule please, provide also the information of the steps.
Are the child items in status "Done" (green) and have they been set with a resolution.
On the board you are using is the "Done" status in the last column of the kanban/scrum board board?
Automation rule:
Work item transitioned:
To Status: Done
Add Conditions to Trigger - JQL Condition: hierarchyLevel = 0 AND Parent is not Empty
Lookup Work Items - JQL: Parent = {{issue.epic.key}}
Create Variable - Variable name: varTotalCountSmart , Smart value: {{lookupIssues.size|0}}
Lookup Work Items - JQL: Parent = {{issue.epic.key}} AND status = Done
Create Variable - Variable name: varDoneCount , Smart value: {{lookupIssues.size|0}}
BranchFor: Parent, Rule restricted to Projects : XYZ Jira project
Create Variable - Variable name: varEpicCompletion , Smart value: {{#=}}{{varDoneCount.asNumber}}/{{varTotalCountSmart.asNumber}}* 100 {{/}}
Edit work Item - Epic Completion (Custom Jira field created - Epic) - {{varEpicCompletion.left(5)}}
On the board - Done / Cancelled status is the last column
Child work items in status "Done" (green) and set with a resolution
It looks like you're new here. Sign in or register to get started.