This article explains how progress indicators based on work item count, such as Completion Rate, appear by default and how those indicators can be configured to consider only leaf work items.
How is progress calculated by default?
When the app is installed, based on the default settings, the Completion Rate indicator is composed of three elements:
-
Completed work items: The number of work items in the Done status category. This value is used as the numerator in the Completion Rate calculation.
-
Work items: The total number of work items, regardless of work type. This value is used as the denominator in the Completion Rate calculation.
-
Completion Rate: A percentage calculated by dividing the number of completed work items by the total number of work items. In the example above, 3 out of 21 work items are in the Done status category. Dividing 3 by 21 results in a Completion Rate of 14%.
How is progress calculated when using leaf work items?
When you modify work item count–based progress indicators to include only leaf work items, both the number of completed work items and the total work item count may change.
After this adjustment, the Completion Rate indicator is calculated using three elements:
-
Completed work items: The number of leaf work items in the Done status category. This value is used as the numerator in the Completion Rate calculation.
-
Work items: The total number of leaf work items, regardless of work type. This value is used as the denominator in the Completion Rate calculation.
-
Completion Rate: A percentage calculated by dividing completed leaf work items by total leaf work items.. In the example above, there are still 3 leaf work items in the Done status category, but the total number of leaf work items decreases to 13. As a result, dividing 3 by 13 produces a Completion Rate of 23%.
You can test these settings by using the available demo.
What are leaf work items?
Whether you use a default or custom work item hierarchy, work items are organized into a tree structure. A leaf work item is any work item that does not have child items.
A leaf work item can be of any type—such as a story, bug, task, or sub-task—as long as it is the lowest-level item in a branch of the hierarchy.
Within the example:
-
Tasks with no child items are leaf items, such as Tasks #1 and #2.
-
A task with sub-tasks is not a leaf work item because it has child items, such as Task #3. In contrast, the Sub-task is a leaf work item since it has no children.
Why use leaf work items when calculating progress?
When parent work items act only as containers—without logged time and with statuses updated only after all child items are complete—using leaf work items provides a more accurate view of progress.
Features and use cases
How can you use progress indicators based on leaf work items only?
Follow these steps to control whether progress indicators based on work item count use all work items or only leaf work items:
-
Click Configure in the header.
-
Select General from the dropdown.
-
Open the Misc section and choose one of the following options:
-
Use default settings: Applies the app-level behavior (selected by default when a report is created).
-
All work items: Includes all work items when calculating progress.
-
Leaf work items only: Uses only leaf work items when calculating progress.
Why and how should you change settings at the app level?
After installing the app, All Work items is selected by default. This setting includes all work items in the hierarchy when calculating progress for indicators based on work item count.
It is most suitable when the status of container work items—such as Epics and Stories—is updated throughout the space duration, rather than only after all child items (such as sub-tasks) are completed.
If your teams follow a consistent approach across spaces and you want progress calculations to include only leaf work items for work item count–based indicators, you can change this setting at the app level. To do so, follow these steps as a Jira admin:
-
Open the Settings menu in Jira’s top navigation bar, by clicking on the gear icon.
-
From the dropdown, choose Marketplace apps.
-
Under Pivot Report, click Settings.
-
On the Pivot Report Settings page, select the General tab.
-
In the Parent work items estimates section, select Leaf Work items Only.
FAQ
If you have questions or need assistance, contact our support team via email or service desk. Our team is available Monday through Friday (9:00 AM to 7:00 PM GMT+7) to help with technical challenges or discuss improvements.