Quick Start
How It Works
| Component | Purpose | Features |
|---|---|---|
| Label | Categorization tag | Name, color, description |
| Association | Issue-label relationship | Many-to-many mapping |
| Color Coding | Visual organization | Hex color values |
| Filtering | Issue discovery | Query by label combinations |
API Reference
Label Management Endpoints
| Method | Endpoint | Purpose | Authentication |
|---|---|---|---|
POST | /api/v1/workspaces/{ws_id}/labels | Create label | Bearer Token |
GET | /api/v1/workspaces/{ws_id}/labels | List labels | Bearer Token |
PUT | /api/v1/workspaces/{ws_id}/labels/{label_id} | Update label | Bearer Token |
DELETE | /api/v1/workspaces/{ws_id}/labels/{label_id} | Delete label | Bearer Token |
Issue Label Operations
| Method | Endpoint | Purpose | Authentication |
|---|---|---|---|
POST | /api/v1/workspaces/{ws_id}/issues/{issue_id}/labels | Add labels to issue | Bearer Token |
DELETE | /api/v1/workspaces/{ws_id}/issues/{issue_id}/labels/{label_name} | Remove label from issue | Bearer Token |
GET | /api/v1/workspaces/{ws_id}/issues?labels=tag1,tag2 | Filter issues by labels | Bearer Token |
Common Patterns
Label Hierarchy System
Label Hierarchy System
Create hierarchical labels using naming conventions:
Bulk Label Management
Bulk Label Management
Efficiently manage labels in bulk operations:
Dynamic Label Filtering
Dynamic Label Filtering
Build dynamic filtering interfaces using labels:
Best Practices
Label Naming Conventions
Label Naming Conventions
- Consistent naming: Use lowercase, hyphen-separated names (e.g., “priority-high”, “team-backend”)
- Descriptive names: Choose clear, searchable names that indicate purpose
- Namespace prefixes: Use prefixes for categories (e.g., “type:”, “team:”, “priority:”)
- Avoid redundancy: Don’t create similar labels with different names
Color Strategy
Color Strategy
- Semantic colors: Use colors that match label meaning (red for critical, green for good)
- Accessibility: Ensure sufficient contrast for all users
- Consistency: Use the same color for related labels across projects
- Limited palette: Stick to 8-12 core colors to avoid visual confusion
Label Lifecycle
Label Lifecycle
- Regular cleanup: Remove unused labels to keep the system organized
- Deprecation process: Mark old labels as deprecated before removing
- Migration strategy: Plan label renames and merges carefully
- Documentation: Maintain guidelines for label usage in your team
Performance Optimization
Performance Optimization
- Index frequently used labels: Ensure database indexes on common label queries
- Limit labels per issue: Keep to 3-5 labels per issue for usability
- Batch operations: Use bulk API calls when modifying multiple labels
- Cache label lists: Cache workspace labels to reduce API calls
Related
Issue Tracking
Comprehensive issue management system
Project Management
Organize work with projects and workflows

