Overview & Concepts
This page is for engineering leads, administrators, and developers evaluating or onboarding onto Patchwork.
What Patchwork Is
Section titled “What Patchwork Is”Patchwork is an open-source (AGPL-3.0), self-hosted ticketing platform for multi-team engineering organizations. It runs natively on Windows and Linux using Node.js, PostgreSQL, and the official MinIO binary without Docker or container layers.
Workspace Hierarchy
Section titled “Workspace Hierarchy”Patchwork organizes all work in a strict five-level hierarchy:
- Organization: Top-level tenant holding teams, system settings, and org-wide admins.
- Team: Engineering group (e.g., Platform Infrastructure) with team leads, members, and viewers.
- Project: Codebase or product area owned by a team, identified by a short key (e.g.,
TELE,INFRA). - Board: Kanban board inside a project with configurable columns and optional Work-In-Progress (WIP) limits.
- Ticket: Individual work item (
TELE-1) with markdown description, priority, assignee, labels, comments, attachments, and GitHub/GitLab links.
Roles Overview
Section titled “Roles Overview”- Admin (
admin): Organization-level administrator with full access to all teams, boards, users, and System Configuration (/dashboard/system). - Team Lead (
lead): Manages team members, projects, boards, and Kanban columns within assigned teams. - Member (
member): Creates, edits, moves, and comments on tickets, uploads attachments, and links GitHub/GitLab items. Optionaldeveloperortestersub-roles gate specific workflow column transitions. - Viewer (
viewer): Read-only access to browse teams, boards, tickets, and attachments.
See the generated Roles & Permissions Matrix for exact action rules.
High-Level Architecture
Section titled “High-Level Architecture”Expected Result
Section titled “Expected Result”After reading this page, you understand how Patchwork structures organizations, enforces roles, and separates relational state (PostgreSQL) from binary attachments (MinIO).
Glossary
Section titled “Glossary”- Admin Setup Token: A one-time, AES-256-GCM encrypted token generated by
npm run setupto unlock the browser Setup Wizard at/setup. - WIP Limit: Maximum ticket count configured on a Kanban column; exceeded columns show a visual warning gauge.
- Presigned URL: Time-limited S3 URL signed with
MINIO_PUBLIC_URLso browsers upload and download attachments directly from MinIO. - SSE (Server-Sent Events): Persistent HTTP stream at
/api/eventsdelivering real-time board mutations.