# Metrics and health settings

> Set how a project is measured — methodology preset, when work counts as started and done, which work counts, working days, cycle-time target, WIP limits, stale work and the health rules that flag a project.

Source: https://docs.sofiaspace.uz/tasks/metrics-and-health/

Each project has **Metrics & health** settings that decide how its numbers are worked out: when a task counts as started and done, which task types count, whether to count working days or calendar days, and the rules that turn the project's health flag amber or red. The project's **Summary**, its **Reports** and every dashboard that includes the project all use these same settings, so one change updates them all.

**Who can do this:** Project Admins (and roles allowed to manage the project). Everyone else can open the page and read it: *Only project managers can change these.* **Where:** **Project settings → Advanced → Metrics & health**. Included on every plan.

## Start from a methodology

Under **Methodology**, pick the preset closest to how the team works. A preset fills in every setting below; you can then change any of them.

| Preset | Built around |
| --- | --- |
| **Scrum** | Sprints, story points, burndown |
| **Kanban** | Flow, WIP limits, cycle time |
| **Waterfall** | Milestones, remaining work |
| **Custom** | Your own mix |

A new project follows the workspace's defaults for its template (*Using the Kanban setup with your workspace's defaults*). Once you save a change, the page says *This project has its own settings*. **Use the workspace default** drops the project's own settings and goes back.

## When work counts as started and done

Under **Started and done**:

- **Use status groups** — a task is started when it enters the **In progress** group and done when it enters the **Done** group. This is the default.
- **Pick statuses** — choose the exact statuses for **Started when a task enters** and **Done when a task enters**.

Cycle time runs from started to done; lead time runs from created to done. Changing this recalculates charts back to the start of tracking.

## Which work counts

Under **Which work counts**, choose the task types that count. The default is *All but sub-tasks, epics, phases and milestones*. **Choose types** lets you pick. Types you leave out don't appear in any metric for this project — not on Summary, Reports or dashboards.

## Throughput unit

Count finished work in **Tasks** or **Story points**. If many tasks have no estimate, the page warns, for example *Story points need estimates; 40% of WEB tasks have none.*

## Working days or calendar days

Under **Days**, choose **Calendar days** or **Working days**, and tick the working days of the week. Working days skip weekends in cycle time, age and burndown.

## Cycle-time target

Tick **Set a target** and enter a share and a number of days, such as *85% of tasks done within 10 days*. The target is drawn as a solid **Target** line on cycle-time charts, and the page shows how the last 90 days did against it. The *Cycle time p85 vs target* health rule uses it.

## WIP limits

**WIP limits** sets a work-in-progress limit per status. Leave a status empty for no limit. The table shows each status's count **Now**, and how far over the limit it is.

WIP limits show on board columns (the count turns red when over) and feed the *Statuses over WIP limit* health rule. They warn; they never stop a card being moved. See [The board](https://docs.sofiaspace.uz/tasks/board.md).

## Waiting statuses

Tick the statuses where time isn't active work, such as "Waiting for customer". They're used for flow efficiency: the share of cycle time spent actually working.

## Stale work

Set how long an open, started task can go without any change before it counts as stale, in working days or days. The page shows how many tasks are stale now.

## Health rules

**Health rules** decide the project's flag on Summary and Reports. Each rule watches one signal and turns amber or red at its thresholds. The worst rule decides: any red makes the project **At risk**, any amber **Needs attention**; with none, it's **Healthy**.

For each rule, set the **Signal**, the **Comparison**, the **Amber** and **Red** thresholds, the **Window** (such as the last 14 days, the active sprint, or the last closed sprint), and whether it's **On**. **Add rule** adds one; **Remove rule** deletes one.

| Signal | Watches |
| --- | --- |
| Overdue share | Share of open items past their due date |
| Ageing work share | Share of work in progress waiting too long |
| Days since activity | Days since anything happened in the project |
| Statuses over WIP limit | How many statuses are over their limit |
| Cycle time p85 vs target | 85th-percentile cycle time against the target |
| Throughput trend | Finished work compared with the period before |
| Blocked share | Share of open items with an open blocker |
| Reopen rate | Share of finished items moved back out of Done |
| Sprint commitment | How much of its commitment the last sprint finished |
| Sprint scope change | How much scope grew after the sprint started |
| Due dates moved later | How many due dates slipped |
| Estimate overruns | Share of finished items that took longer than estimated |

A new project shows **Not enough data** until it has 14 days of status history or its first 5 finished tasks.

## Try rules before you save

The **Live preview** shows the flag your draft would give right now next to the saved rules. A 90-day back-test shows how many days the project would have been flagged with your draft compared with the saved rules. Daily flags are kept from the project's hourly health check, so the back-test fills in over time.

## Save your changes

Changes are a draft until you choose **Save changes**; the bar at the bottom counts unsaved changes. **Discard** throws the draft away.

## What you can't do

- You can't set different metric settings for different dashboards. A project has one set of settings that every chart uses.
- Health rules apply to one project. There's no health flag for a team board or initiative.
- You can't make a WIP limit block new work.
- There's no screen in the web app for changing the workspace's default metric settings. Change each project's own settings instead.
