Generate reports of incomplete sub-tasks based on parent Epic in Jira
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
Automation can generate a report of all sub-tasks linked to a specific Epic that are not in the Done or Approved statuses. The rule will be triggered manually and send a report via email.
Solution
Automation rule to generate a report
Navigate to Project Settings > Automation
Select Create Rule
Trigger: Manual Trigger
Add a Work item fields condition: Work item type: Epic
This ensures the rule can only run on Epics, even if users select it on other work item types
Add a Lookup Work Items action
JQL:
issue in portfolioChildIssuesOf("{{triggerIssue.key}}") and type = Sub-task and status not in (Done, Approved)
Add a Send email action:
Configure the recipient, subject, and any additional details for the email
In the email body, use smart values to list the subtasks. For example:
{{#lookupIssues}} {{key}} - {{url}} {{/}}
Was this helpful?