Skip to content
This page was generated and translated with the assistance of AI. If you spot any inaccuracies, feel free to help improve it. Edit on GitHub

Labels ​

Labels provide a flexible way to categorize and filter issues. Each label has a name, color, and optional description.

Creating Labels ​

Via the Web UI ​

  1. Navigate to your project or workspace settings.
  2. Go to Labels.
  3. Click New Label.
  4. Enter a name (e.g., "bug", "feature", "documentation").
  5. Choose a color (hex format, e.g., #ef4444 for red).
  6. Click Create.

Via the API ​

bash
curl -X POST http://localhost:8080/api/labels \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <token>" \
  -d '{
    "name": "bug",
    "color": "#ef4444",
    "description": "Something is not working"
  }'

Via MCP ​

json
{
  "method": "tools/call",
  "params": {
    "name": "labels.create",
    "arguments": {
      "name": "bug",
      "color": "#ef4444"
    }
  }
}

Common Label Schemes ​

Here are some popular label organizations:

By Type ​

LabelColorDescription
bug#ef4444 (red)Something is broken
feature#3b82f6 (blue)New feature request
enhancement#8b5cf6 (purple)Improvement to existing feature
documentation#06b6d4 (cyan)Documentation updates
refactor#f59e0b (amber)Code refactoring

By Priority ​

LabelColorDescription
P0-critical#dc2626 (red)Production down
P1-high#ea580c (orange)Major feature broken
P2-medium#eab308 (yellow)Non-critical issue
P3-low#22c55e (green)Nice to have

Adding Labels to Issues ​

Via the Web UI ​

Open an issue and click the Labels field to add or remove labels.

Via the API ​

bash
# Add a label to an issue
curl -X POST http://localhost:8080/api/issues/<issue_id>/labels \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <token>" \
  -d '{"label_id": "<label_uuid>"}'

Via MCP ​

ToolParamsDescription
work_items.add_labelwork_item_id, label_idAdd one label
work_items.add_labelswork_item_id, label_idsAdd multiple labels
work_items.remove_labelwork_item_id, label_idRemove a label
work_items.list_labelswork_item_idList labels on an issue

Label Management MCP Tools ​

ToolParamsDescription
labels.list--List all workspace labels
labels.list_by_projectproject_idList labels for a project
labels.createname, colorCreate a label
labels.updatelabel_idUpdate name, color, or description
labels.deletelabel_idDelete a label

Next Steps ​

Released under the Apache-2.0 License.