A systematic workflow for triaging repository issue backlogs with AI-powered recommendations and bulk operations support.
This workflow helps teams efficiently triage large issue backlogs by:
- Analyzing all open issues in a repository
- Providing actionable recommendations (CLOSE, FIX_NOW, BACKLOG, NEEDS_INFO, etc.)
- Generating interactive HTML reports with sorting and simulation
- Supporting bulk operations for GitHub and Jira
- Automating monthly triage via GitHub Actions
- Sortable Columns: Click any column header to sort (default: by recommendation)
- Simulation Mode: Preview how recommendations affect the backlog before applying
- Last Modified Tracking: See who last updated each issue and when
- Filters: Filter by recommendation, type, priority, or search
- Bulk Operations: Select issues and generate operations script
- CLOSE: Invalid, obsolete, or duplicate issues
- FIX_NOW: Critical issues or quick wins
- BACKLOG: Valid issues for future work
- NEEDS_INFO: Blocked on additional information
- DUPLICATE: Duplicate of existing issue
- AMBER_AUTO: Can be fixed automatically by Amber
- ASSIGN: Ready to be assigned to a developer
- WONT_FIX: Valid but won't be addressed
Execute bulk operations on GitHub or Jira:
./scripts/bulk-operations.sh --backend github --repo owner/repo --operations operations.jsonSupports:
- Closing issues
- Adding labels
- Assigning issues
- Linking duplicates
- Adding comments
-
Start workflow:
ambient session create --workflow triage
-
Provide repository:
Triage the backlog for https://github.com/owner/repo -
Open generated report:
open artifacts/triage/report.html
-
Copy workflow to your repo:
cp .github/workflows/triage-report.yml /your/repo/.github/workflows/
-
Commit and push:
git add .github/workflows/triage-report.yml git commit -m "Add automated triage workflow" git push -
Workflow runs automatically monthly or manually via Actions tab
-
Download artifact and open report.html
.ambient/ambient.json- Workflow definitiontemplates/report.html- Interactive HTML templatetemplates/triage-report.md- Markdown templatescripts/bulk-operations.sh- Bulk operations script.github/workflows/triage-report.yml- GitHub Actions workflow
Generated in artifacts/triage/:
report.html- Interactive dashboard with sorting, simulation, filterstriage-report.md- Markdown format for easy readingoperations.json- Example bulk operationstriage_issues.json- Structured JSON data
The workflow runs:
- Schedule: Monthly on 1st at 00:00 UTC
- Manual: Via workflow_dispatch
- Retention: 90 days
Configure by editing .github/workflows/triage-report.yml
Edit templates/report.html:
- Change colors/styling
- Add new columns
- Modify filters
- Add charts
Edit .ambient/ambient.json:
- Add new recommendation types
- Change triage logic
- Modify output format
Edit .github/workflows/triage-report.yml:
- Change schedule
- Modify retention period
- Add notifications
- GitHub CLI (
gh) for issue fetching - Jira REST API credentials (for Jira backend)
- Python 3.x (for GitHub Actions workflow)
For questions or issues:
- Review this README
- Check example outputs in the package
- Open an issue at https://github.com/ambient-code/workflows
MIT