Display the number of subtasks for each issue in Rich Filters for Jira Dashboards App

Display the number of subtasks for each issue in Rich Filters for Jira Dashboards App

This article provides a step-by-step guide to automate the tracking of Subtask Count and Subtask Completion using Rich Filters for Jira Dashboards.

Instructions

  1. Create Custom Number Fields:

    1. Navigate to > Issues > Custom Fields.

    2. Click Add Custom Field > Number Field.

      Select Number Field
    3. Add two fields to the project:

      • Subtask Count - stores the total number of subtasks for each parent.

      • Closed Subtasks Count - tracks the number of completed subtasks.

  1. Set Up a Jira Automation Rule:

    1. Navigate to > System > Automation rules.

    2. Click Create Rule and select either:

      1. Create a Global Automation rule (for multiple projects), or

      2. A Project Automation rule (for a single project).

    3. Configure the rule to look up issues: parent = {{issue.key}}, and then update the number field with the count: {{lookupIssues.size}}.

    4. Similarly, configure the rule to look for closed subtasks statuscategory = Done AND parent = {{issue.key}} and then update the number field with the count: {{lookupIssues.size}}.

    5. Click Turn it on to publish the rule.

    6. Navigate to Issues > Manage Rich Filter.

      1. Select a filter and click Views.

    7. Add the number fields to the Rich Filter: Views

    8. Add a Working query in the RF Results gadget to only display issues with subtasks.

      1. JQL - "SubTask Count" > 0 and click Submit.

    9. Refresh the gadget and verify the results.