Skip to content

Cycle Time

Cycle Time shows how long your team takes to finish each Bug and User Story, measured on what really happened in Azure DevOps instead of on estimates. Each dot on the chart is one finished work item, and the percentiles tell you how long most of them take.

A work item’s cycle time runs from the day it went to Active in Azure DevOps to the day it was resolved. If it has no resolved date, the day it was closed counts instead.

You need Azure DevOps connected first: see Azure DevOps.

  1. Open Cycle Time. In the sidebar, go to Delivery → Flow Metrics → Cycle Time (/flow-metrics/cycle-time).

  2. Choose the project and the team. Press the Filters button (the funnel icon), or Choose project and team if the page shows Select a team. In the Filters panel pick a Project (your default project comes already selected), a Team and, if you want, a Type: All types, Bugs or User Stories. Press Apply.

    LeanPortfolio only syncs that team, so it never pulls the project’s entire history. The three Flow Metrics views share this choice: Cycle Time, WIP and Throughput open on the same team.

  3. Choose the period. In the period selector, pick Last 7 days, Last 30 days, Last 90 days, Last 180 days or Last 360 days.

  4. Press Sync. LeanPortfolio brings from Azure DevOps the Bugs and User Stories that team completed in the period on screen. The button reads Syncing… (15) with the count so far, and a message confirms Sync complete when it ends. Under the title, Updated: shows when the data was last synced.

    Applying filters only reloads the data already stored: press Sync again whenever you want the latest from Azure DevOps. The history icon next to the filters opens the Sync history.

  5. Read the numbers. The three cards on top summarize the period:

    • Measured items: work items completed with a start date in the period.
    • Average Cycle Time: days on average.
    • Cycle Time P85: 85% of the work items were completed in fewer days than this.

    In Cycle Time Distribution, each dot is a work item, coloured by Bug or User Story, and the chips above the chart give the P50, P70, P85 and P95 in days. Hover over a dot to see when it went to Active and when it was completed; click it to open the work item in Azure DevOps.

  6. Check the work items. Below the chart, Work items in this period lists the same items the chart plots. Search by id or title. If a row looks off, press its re-sync button (Re-sync this work item) to read it again from Azure DevOps.

To answer “when will it be done?” with data instead of estimates. P85 is the promise you can make: 85% of your Bugs and User Stories finish within that many days. It also tells you whether a change in the way you work made the team faster or more predictable.

  • Height is how long an item took; position is when it finished.
  • A narrow band of dots means a predictable team; a wide spread means any item can take any time.
  • Dots above P95 are the exceptions: open them and ask what held them up.
  • Dots climbing over the weeks mean the team is slowing down.
  • Commit with P85: “we finish a User Story in X days or fewer, 85% of the time”.
  • Help an item before it becomes an exception: in WIP, anything whose Days open is getting close to P85 needs attention now.
  • Look at Bugs and User Stories apart, with the Type filter: they rarely flow the same way.
  • Measure a change in the process by comparing the percentiles before and after it.
  • Deciding on the average: a few long items drag it; the percentiles show what most items do.
  • Comparing teams, or turning cycle time into a target for people: the number gets gamed and stops telling the truth.
  • Hiding the slow ones: closing old items in bulk, splitting work only to lower the number, or skipping Active. The chart looks better and says less.

No team is chosen yet. Press Choose project and team and follow step 2.

“You haven’t synced any work items from Azure DevOps yet.”

Section titled ““You haven’t synced any work items from Azure DevOps yet.””

This team has never been synced. Press Sync, as in step 4.

“No Bugs or User Stories were completed in this period.”

Section titled ““No Bugs or User Stories were completed in this period.””

The team finished nothing in the period on screen. Choose a longer period and press Sync to bring it in.

“… work items completed in this period are not charted”

Section titled ““… work items completed in this period are not charted””

Azure DevOps has no date of when those work items went to Active, so their cycle time cannot be measured. It usually means they went straight to resolved or closed without passing through Active. They still appear in the table, marked as not measurable.

“Showing the … most recent work items out of …”

Section titled ““Showing the … most recent work items out of …””

The period has more completed work items than the chart can draw. Choose a shorter period or a smaller team to see them all.

Automatic syncing pauses when you have not used LeanPortfolio for a while. Press Sync to bring the latest from Azure DevOps.

Check that Azure DevOps is still connected in Settings → Datasource (see Azure DevOps) and press Sync again.

“Could not load Cycle Time” and a “Retry” button

Section titled ““Could not load Cycle Time” and a “Retry” button”

LeanPortfolio could not load the metrics. Press Retry. If it keeps failing, the LeanPortfolio backend is not answering: check that the stack is running.