Issues
Issues live at Dashboard → Issues: a searchable queue, a drag-drop status board, and an SLA watch. Every issue carries a human key like ISS-4821 — the detail API accepts either the key or the numeric id. All calls need a Bearer JWT and an X-Workspace-Id header.
Queue, board, and SLA watch
The stat strip counts open issues, open P1s, SLA-breaching or at-risk items, and done issues. Three tabs slice the same data:
- Queue — every issue in a table with search (id, title, team, label) plus status and priority filters. P1 rows get a pill highlight; every row opens the full issue.
- Board — cards grouped by status with drag-and-drop. A drop calls the move endpoint immediately and persists — there is no separate save.
- SLAs — open issues with an SLA clock, most urgent first. The SLA chip reads "Met" on done issues, "Breached" past due, a countdown inside 24 hours, and "No SLA" for P3s without a clock.
Statuses, priorities, and types are fixed vocabularies:
- Status:
Backlog / To do / In progress / In review / Done - Priority:
P0 / P1 / P2 / P3 - Type:
bug / feature / task / epic
Issue detail
The detail page opens with the key, title, team, priority, assignee, and an age label (minutes → hours → days → weeks since creation). Below that:
- Status stepper — one click per status; moving to Done stamps a resolution automatically, and moving back out clears it.
- Comments — a timeline with a composer; each comment has an author, a kind, and a relative timestamp.
- Subtasks — checkable breakdown items with optional due dates and assignees; toggling flips done immediately.
- Why it sits here — triage reasoning derived from the stored fields: priority, routing (assignee vs. queue), reporter, and the SLA clock.
- Fields — priority, assignee, reporter, labels, and linked records (project key, epic key + title).
Issues link upward: project_id must reference a real project, sprint_id a real sprint, and epic_id another issue whose type is epic — anything else is rejected. Deleting an issue removes its comments and subtasks, detaches its child issues, and returns the deleted key.
API pointers
| Method | Path | What it does |
|---|---|---|
| GET | /api/issues | List with status / priority / type / team / assignee / project / sprint / search filters; returns issues + total |
| POST | /api/issues | Create (mints the ISS-nnnn key); validates enums and project/sprint/epic refs |
| GET | /api/issues/board | Status columns with their issues, in board order |
| GET | /api/issues/slas | Open SLA-clocked issues, most urgent first |
| GET | /api/issues/stats/summary | Counts by status plus open-by-priority |
| GET | /api/issues/{ref} | Full detail: comments, subtasks, triage, linked (ref = key or id) |
| PATCH | /api/issues/{ref} | Partial update; closing without a resolution stamps one |
| POST | /api/issues/{ref}/move | Board drag-drop / stepper status change |
| DELETE | /api/issues/{ref} | Delete with comment + subtask cascade |
| GET | /api/issues/{ref}/comments | Comment thread with total |
| POST | /api/issues/{ref}/comments | Add a comment (bumps updated_at) |
| GET | /api/issues/{ref}/subtasks | Subtask list with total |
| POST | /api/issues/{ref}/subtasks | Append a subtask |
| PATCH | /api/issues/{ref}/subtasks/{sub_id} | Edit a subtask |
| DELETE | /api/issues/{ref}/subtasks/{sub_id} | Delete a subtask |
| POST | /api/issues/subtasks/{sub_id}/toggle | Flip a subtask's done flag |
Issues roll up into delivery work — see the Projects guide for how projects, sprints, and epics consume them.