Skip to main content
Version: 24.3

Work item counts dataset

The work item counts dataset is a canonical-based dataset that offers a comprehensive view of work items within the system. It provides counts of various types of work items, including user stories, defects, tasks, and tests, across multiple planning levels or teams. This dataset enables you to analyze the volume of work items over time or by category, facilitating the tracking and managing workload, backlog, and project progress. Key metrics, such as the number of open, closed, and in-progress work items, are included to help monitor project health and team productivity.

note

This dataset's metrics cannot be combined with metrics from other datasets. It is intended for use in date-based analysis only.

The following are the components of this dataset:

Attributes

Attribute NameDescription
Calendar dateCanonical calendar date attribute
Sys_sourceUnique identifier for the source
Work itemUnique identifier for the work item

Metrics

Metric NameDescriptionFormula
Closed defectsThe number of defects closed on the selected calendar dateCount(CASE WHEN closed_datetime IS NOT NULL and workitem_type = 'Defect' THEN workitem_idELSE null END)
Closed storiesThe number of stories closed on the selected calendar dateCount(CASE WHEN closed_datetime IS NOT NULL and workitem_type = 'Story' THEN workitem_id ELSE nullEND)
Closed story pointsThe number of story points closed on the selected calendar dateSum(CASE WHEN closed_datetime IS NOT NULL THEN story_points ELSE null END)
Closed test setsThe number of test sets closed on the selected calendar dateCount(CASE WHEN closed_datetime IS NOT NULL and workitem_type = 'TestSet' THEN workitem_id ELSE null END)
Closed work itemsThe number of work items that are closed on the selected calendar dateCount(CASE WHEN closed_datetime IS NOT NULL and workitem_type = 'Defect' THEN workitem_id ELSE nullEND)
Completed defectsThe number of defects completed on the selected calendar dateCount(CASE WHEN completed_datetime IS NOT NULL and workitem_type = 'Defect' THEN workitem_id ELSE null END)
Completed storiesThe number of stories completed on the selected calendar dateCount(CASE WHEN completed_datetime IS NOT NULL and workitem_type = 'Story' THEN workitem_id ELSE null END)
Completed story pointsThe number of story points completed on the selected calendar dateSum(CASE WHEN completed_datetime IS NOT NULL THEN story_points ELSE null END)
Completed test setsThe number of test sets completed on the selected calendar dateCount(CASE WHEN completed_datetime IS NOT NULL and workitem_type = 'TestSet' THEN workitem_id ELSE null END)
Completed work itemsThe number of work items that are completed on the selected calendar dateCount(CASE WHEN completed_datetime IS NOT NULL THEN workitem_id ELSE null END)
Created defectsThe number of defects created on the selected calendar dateCount(CASE WHEN workitem_type = 'Defect' THEN workitem_id ELSE null END)
Created storiesThe number of stories created on the selected calendar dateCount(CASE WHEN workitem_type = 'Story' THEN workitem_id ELSE null END)
Created story pointsThe number of story points created on the selected calendar dateSum( story_points)
Created test setsThe number of test sets created on the selected calendar dateCount(CASE workitem_type = 'TestSet' THEN workitem_id ELSE null END)
Created work itemsThe number of work items that are created on the selected calendar dateCount(workitem_id)
In progress defectsThe number of defects currently in progress on the selected calendar dateCount(CASE WHEN inprogress_datetime IS NOT NULL and workitem_type = 'Defect' THEN workitem_id ELSE null END)
In progress storiesThe number of stories currently in progress on the selected calendar dateCount(CASE WHEN inprogress_datetime IS NOT NULL and workitem_type = 'Story' THEN workitem_id ELSE null END)
In progress story pointsThe number of story points currently in progress on the selected calendar dateSum(CASE WHEN inprogress_datetime IS NOT NULL THEN story_points ELSE null END)
In progress test setsThe number of test sets currently in progress on the selected calendar dateCount(CASE WHEN inprogress_datetime IS NOT NULL and workitem_type = 'TestSet' THEN workitem_id ELSE null END)
In progress work itemsThe number of work items currently in progress on the selected calendar dateCount(CASE WHEN inprogress_datetime IS NOT NULL THEN workitem_id ELSE null END)