Skip to main content
Table of Contents

Mean Time to Restore (MTTR): Definition and Calculation

Understand how LinearB measures Mean Time to Restore, how recovery windows are calculated, and which incident signals are used to reflect real recovery time.

Steven Silverstone
Updated by Steven Silverstone
Table of Contents

MTTR (Mean Time to Restore) measures the average time it takes to recover from a production failure. In LinearB, MTTR is calculated based on how long a production incident remains unresolved, helping teams understand the speed and effectiveness of their recovery process.

MTTR is one of the four core DORA metrics and is directly influenced by how production incidents are defined and reported in your organization.

Summary
  • MTTR measures the average recovery time from production failures.
  • By default, LinearB calculates MTTR using the In Progress lifecycle of production bugs.
  • You can customize which issues count as incidents and which timestamps are used.
  • MTTR can be viewed at both the organization and team levels.
  • By default, every issue that matches your incident rules counts, whether or not it is in an iteration.
  • The Incident API can be used to report incidents from any system.

Where to view MTTR

You can find the MTTR metric in the Metrics section, under the Project Management dashboard.


How MTTR is calculated

By default, LinearB measures MTTR as the time between:

  • The moment a production issue enters the In Progress state
  • The moment it exits the In Progress state

If an issue moves into In Progress more than once, LinearB uses the issue start time strategy configured for your organization (first or last transition to In Progress).

Each qualifying incident contributes to the average recovery time shown in the MTTR metric.

New incidents and changes to your incident configuration may take up to 24 hours to appear in MTTR.

Customizing MTTR start and end times

LinearB allows you to control which timestamps define the MTTR duration. Instead of relying on status transitions, you can use custom fields that contain a date and time (timestamp).

Important: The selected custom fields must contain a timestamp (date and time). Date-only custom fields cannot be used to define the MTTR start or end time.

By default:

  • Start: Issue enters In Progress
  • End: Issue exits In Progress

You can override this behavior by selecting timestamp fields for:

  • Incident start time
  • Incident end time

These settings are available under MTTR Duration in the incident configuration panel.

You can also access this configuration by clicking the gear icon next to the MTTR widget in your metrics dashboard.


Choosing which incidents count (Incident scope)

The Incident scope setting controls which project management incidents are used to calculate CFR and MTTR. You can find it under Company Settings → Advanced.

  • All incidents (default): Every issue that matches your CFR and MTTR rules counts, whether or not it is in an iteration.
  • Only incidents in iterations: An issue counts only if it matches your CFR and MTTR rules and is linked to an iteration in LinearB.

The setting applies to all CFR and MTTR metrics across LinearB, including AI Analytics and the DORA dashboard. Incidents reported through the Incident API are not affected by this setting.


Using the Incident API for MTTR

LinearB’s Incident API allows you to report production incidents from any external system, even if it is not directly integrated with LinearB.

Incidents reported through the API are included in MTTR calculations as long as they contain valid start and end timestamps.

Learn more about the Incident API:


Viewing MTTR by team

LinearB can calculate MTTR at the team level by combining:

  • The organization-wide incident definition
  • The project management boards associated with each team

Team-level MTTR reflects only incidents mapped to that team’s configured boards. Teams that define their own incident rules in Team Settings use those rules instead of the organization-wide definition. Incidents that are not connected to any team are counted at the organization level and appear when you select All Teams.

To ensure accurate results:

  1. Go to Team Settings → Projects.
  2. Verify the team is connected to the correct project management boards.

How did we do?

MTTR (Mean Time to Recovery) Metric

Reducing Change Failure Rate Through Smaller Deployments