Development Metrics
Development metrics focus on the time spent in different phases of the development process, helping teams understand and optimize their development workflow.Available Metrics
string
Time spent coding (from first commit to PR open)
string
Time between PR open and first review
string
Time from first commit to PR open
string
Time between PR open and first review
string
Time between first review and merge
string
Total time spent in the review phase
string
Time spent on rework after a review
string
Full cycle time from first commit to merge
string
Time from PR open to the first comment
string
Percentage of PRs that required rework after review
Cycle Time Metric
This example demonstrates how to retrieve the cycle time metric, which measures the full development cycle from initial commit to merge.Review Time Metric
This example demonstrates how to retrieve the review time metric, which measures the total time spent in the review phase.Parameter Notes
string
For development metrics, the following date fields are available:
created_at: When the PR was createdmerged_at: When the PR was merged (recommended for cycle time)first_review_at: When the PR received its first review
string
Required for all development time metrics. Accepted values:
SUM, MAX, MIN, AVG.object
Applicable filters for development metrics:
repositories: Array of{"repository_name": "..."}objectsmember: Filter by author merged user IDsteam: Filter by team IDssquad_ids: Filter by squad IDssquad_levels: Filter by squad hierarchy levelmanager_ids: Filter by manager user IDsdepartments: Filter by department namessources: VCS source —github,gitlab,bitbucketpr_states: PR states —open,closed,mergedpr_categories: PR category classificationspr_ids: Filter by specific PR IDspull_requests_search_term: Full-text search across PR fieldslocations: Filter by employee locationlevels: Filter by employee level
Common Use Cases
- Track Cycle Time Trends: Monitor how development cycle time changes over time
- Identify Bottlenecks: Find which part of the development process takes the longest
- Compare Team Performance: Compare cycle times across different teams or repositories
- Set Performance Goals: Establish baseline metrics and set improvement goals

