Skip to content

Threatwrix/productboard-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ProductBoard Hygiene Analyzer

A powerful console application for Chief Product Officers to analyze ProductBoard data and enforce strong hygiene practices.

This tool addresses the common frustration CPOs have with ProductBoard's lackluster reporting by providing comprehensive metrics on data freshness, identifying outdated content, and generating actionable recommendations for maintaining clean, organized product management workspaces.

🎯 Why This Tool?

As a Chief Product Officer, you know that:

  • Stale features clutter your product roadmap
  • Outdated insights mislead strategic decisions
  • Ancient objectives create confusion in planning
  • Poor hygiene reduces team productivity

This analyzer provides the metrics and visibility ProductBoard's native reporting lacks, helping you maintain a clean, actionable product management environment.

✨ Features

  • πŸ” Comprehensive Analysis: Analyzes features, notes, objectives, initiatives, releases, and more
  • πŸ“Š Age-based Classification: Categorizes items as Fresh, Stale, Outdated, or Ancient
  • 🎯 Hygiene Score: Calculates an overall hygiene score (0-100) for your ProductBoard workspace
  • 🎨 Beautiful Reporting: Colored console output with professional tables and charts
  • πŸ”§ Flexible Thresholds: Customizable age thresholds for different hygiene categories
  • ⚑ Multiple Analysis Modes: Full analysis, quick stats, or specific item type analysis
  • πŸš€ Zero Configuration: Works out of the box with just your API token
  • πŸ“ˆ Actionable Insights: Concrete recommendations for improving data hygiene

πŸš€ Quick Start

Prerequisites

  • Node.js 16+ installed
  • ProductBoard Pro plan or higher (required for API access)
  • ProductBoard API token

Installation

# Clone the repository
git clone https://github.com/Threatwrix/productboard-analyzer.git
cd productboard-analyzer

# Install dependencies
npm install

# Run setup guide
node index.js setup

βš™οΈ Configuration

Getting Your ProductBoard API Token

  1. Log in to your ProductBoard workspace
  2. Navigate to Workspace Settings β†’ Integrations β†’ Public APIs
  3. Click "Generate Access Token" (requires Pro plan or higher)
  4. Copy your token - it looks like pb_1234567890abcdef

Setting Up Your Token

Choose your preferred method:

Option 1: Environment Variable (Recommended)

export PRODUCTBOARD_API_TOKEN=pb_your_actual_token_here
node index.js analyze

Option 2: .env File (For Development)

cp .env.example .env
# Edit .env file: PRODUCTBOARD_API_TOKEN=pb_your_actual_token_here
node index.js analyze

Option 3: Command Line Flag (For One-time Use)

node index.js analyze --token pb_your_actual_token_here

πŸ“Š Usage Examples

Complete Hygiene Analysis

# Full analysis with detailed reporting
node index.js analyze

# Quick executive summary only  
node index.js analyze --quick

# Custom age thresholds for your organization
node index.js analyze --stale-days 60 --outdated-days 120 --ancient-days 300

Targeted Analysis

# Focus on features only
node index.js features --token your_token

# Analyze customer insights/notes
node index.js notes --token your_token

# All commands support the --token flag
node index.js analyze --token your_token --quick

Getting Help

# Show all available commands
node index.js --help

# Interactive setup guide
node index.js setup

Real-World Usage Scenarios

Daily Standup: Get quick stats

node index.js analyze --quick

Weekly Review: Full analysis with recommendations

node index.js analyze

Feature Planning: Focus on feature hygiene

node index.js features

Quarterly Review: Custom thresholds for deeper analysis

node index.js analyze --stale-days 45 --outdated-days 90 --ancient-days 180

πŸ“ˆ Understanding the Metrics

Age Categories

Category Age Range Color Meaning
🟒 Fresh < 3 months Green Recently created/updated, active
🟑 Stale 3-6 months Yellow Getting old, may need attention
🟠 Outdated 6-12 months Orange Likely obsolete, review required
πŸ”΄ Ancient 12+ months Red Definitely outdated, immediate action needed

Hygiene Score Breakdown

The hygiene score (0-100) weighs your items based on freshness:

Score Range Grade Status Action Required
80-100 πŸ† Excellent Most items are fresh Maintain current practices
60-79 βœ… Good Minor cleanup needed Schedule quarterly review
40-59 ⚠️ Needs Improvement Significant old items Monthly cleanup required
0-39 🚨 Critical Major hygiene issues Immediate action required

Calculation Method

  • Fresh items: 100% weight
  • Stale items: 70% weight
  • Outdated items: 30% weight
  • Ancient items: 10% weight

Sample Output

πŸ“Š PRODUCTBOARD HYGIENE ANALYSIS REPORT
============================================================

πŸ“‹ EXECUTIVE SUMMARY
------------------------------
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Metric               β”‚ Count  β”‚ Percentage  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Total Items          β”‚ 1,247  β”‚ 100.0%      β”‚
β”‚ Fresh (< 3 months)   β”‚ 823    β”‚ 66.0%       β”‚
β”‚ Stale (3-6 months)   β”‚ 187    β”‚ 15.0%       β”‚
β”‚ Outdated (6-12 months) β”‚ 142  β”‚ 11.4%       β”‚
β”‚ Ancient (12+ months) β”‚ 95     β”‚ 7.6%        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ’‘ RECOMMENDATIONS
-------------------------
1. πŸ” Review 95 ancient features (oldest: Legacy User Management)
2. ⚠️  MEDIUM PRIORITY: 18.4% of items are 6+ months old - schedule review
3. πŸ“‹ LOW PRIORITY: 33.0% of items are 3+ months old - consider updating

🎯 HYGIENE SCORE
--------------------
Overall Score: 71/100 (GOOD)

Project Structure

productboard-analyzer/
β”œβ”€β”€ index.js                    # Main CLI application
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ productboard-client.js  # API client for ProductBoard
β”‚   β”œβ”€β”€ data-fetcher.js         # Data fetching orchestration
β”‚   β”œβ”€β”€ hygiene-analyzer.js     # Age analysis and metrics calculation
β”‚   └── reporter.js             # Console reporting and formatting
β”œβ”€β”€ package.json
β”œβ”€β”€ .env.example
└── README.md

πŸ› οΈ API Coverage

This tool analyzes the following ProductBoard data types:

  • Features - Your product features and enhancements
  • Notes - Customer insights and feedback
  • Objectives - Strategic goals and outcomes
  • Initiatives - Major projects and efforts
  • Releases - Product releases and versions
  • Release Groups - Collections of related releases
  • Components - Product components and modules
  • Products - Your product portfolio
  • Companies - Customer organizations
  • Users - Team members and stakeholders

πŸ”§ Customization

Custom Age Thresholds

# Conservative approach (shorter cycles)
node index.js analyze --stale-days 30 --outdated-days 90 --ancient-days 180

# Lenient approach (longer cycles)  
node index.js analyze --stale-days 120 --outdated-days 240 --ancient-days 480

Environment Variables

# Set default thresholds
export PB_STALE_DAYS=60
export PB_OUTDATED_DAYS=120  
export PB_ANCIENT_DAYS=240

🀝 Contributing

This tool was designed for CPOs frustrated with ProductBoard's reporting limitations. Contributions welcome:

  • Bug reports: Open an issue with detailed steps to reproduce
  • Feature requests: Describe your use case and desired functionality
  • Code contributions: Fork, create a feature branch, and submit a PR
  • Documentation: Help improve setup guides and examples

Development Setup

git clone https://github.com/Threatwrix/productboard-analyzer.git
cd productboard-analyzer
npm install
npm run dev

πŸ“„ License

MIT License - feel free to use this in your organization and modify as needed.

πŸ†˜ Support


Built by CPOs, for CPOs - Because ProductBoard's native reporting just isn't enough. πŸ“Š

About

Console application for CPOs to analyze ProductBoard data and enforce hygiene practices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors