Skip to main content

Issues

Track and triage work. Issues carry human keys (ISS-4821); detail routes accept either the key or the numeric id.

Auth: all calls require a Bearer JWT plus the X-Workspace-Id header.

GET/api/issuesAuth required

List issues with filters. Returns issues plus the total match count.

Query Parameters

FieldTypeRequiredNote
statusstringNo"Backlog" | "To do" | "In progress" | "In review" | "Done"
prioritystringNo"P0" | "P1" | "P2" | "P3"
issue_typestringNo"bug" | "feature" | "task" | "epic"
teamstringNo—
assigneestringNo—
project_idnumberNo—
sprint_idnumberNo—
searchstringNoMatches title, description, and key
limitnumberNoDefault 50, max 200
offsetnumberNoDefault 0

Response

{
  "issues": [
    {
      "id": 12,
      "key": "ISS-4821",
      "title": "Checkout button hangs on Safari",
      "status": "In progress",
      "priority": "P1",
      "issue_type": "bug",
      "assignee": "sam",
      "comment_count": 2,
      "subtask_total": 3,
      "subtask_done": 1
    }
  ],
  "total": 1
}
POST/api/issuesAuth required

Create an issue. The server mints the next ISS-nnnn key for the workspace.

Request Body

FieldTypeRequiredNote
titlestringYes1–300 chars
descriptionstringNoDefault empty
teamstringNo—
statusstringNoDefault "To do"
prioritystringNoDefault "P2"
issue_typestringNoDefault "task"
assigneestringNo—
reporterstringNo—
labelsstring[]No—
story_pointsnumberNo—
sla_duestringNoISO timestamp
project_idnumberNoMust exist in workspace
sprint_idnumberNoMust exist in workspace
epic_idnumberNoMust be an epic issue

Response

{
  "id": 13,
  "key": "ISS-4822",
  "title": "Add password reset flow",
  "status": "To do",
  "priority": "P2",
  "issue_type": "feature",
  "created_at": "2026-03-28T10:00:00Z",
  "updated_at": "2026-03-28T10:00:00Z"
}
GET/api/issues/boardAuth required

Status board columns with their issues, for drag-drop boards.

Response

[
  { "status": "Backlog", "count": 4, "issues": [ ... ] },
  { "status": "To do", "count": 2, "issues": [ ... ] },
  { "status": "Done", "count": 9, "issues": [ ... ] }
]
GET/api/issues/slasAuth required

Open issues with an SLA clock, most urgent first.

Response

[
  {
    "id": 12,
    "key": "ISS-4821",
    "title": "Checkout button hangs on Safari",
    "sla_due": "2026-03-29T10:00:00Z",
    "sla_label": "Breaches in 5h",
    "sla_state": "r"
  }
]
GET/api/issues/{ref}Auth required

Get one issue by key (ISS-4821) or numeric id, with comments, subtasks, triage notes, and linked refs.

Response

{
  "id": 12,
  "key": "ISS-4821",
  "title": "Checkout button hangs on Safari",
  "status": "In progress",
  "comments": [ ... ],
  "subtasks": [ ... ],
  "triage": ["P1: Checkout button hangs on Safari"],
  "linked": ["PRJ-118"]
}
PATCH/api/issues/{ref}Auth required

Update an issue. All fields optional. Closing without a resolution stamps one automatically.

Request Body

FieldTypeRequiredNote
titlestringNo—
descriptionstringNo—
statusstringNo—
prioritystringNo—
issue_typestringNo—
assigneestringNo—
labelsstring[]No—
story_pointsnumberNo—
resolutionstringNo—
project_idnumberNo—
sprint_idnumberNo—
epic_idnumberNo—

Response

{
  "id": 12,
  "key": "ISS-4821",
  "status": "In review",
  "updated_at": "2026-03-28T14:30:00Z"
}
POST/api/issues/{ref}/moveAuth required

Board drag-drop status change. Reopening clears the resolution.

Request Body

FieldTypeRequiredNote
statusstringYesMust be a known status

Response

{
  "id": 12,
  "key": "ISS-4821",
  "status": "Done",
  "resolution": "done"
}
DELETE/api/issues/{ref}Auth required

Delete an issue, its comments, and its subtasks. Child issues are detached from deleted epics.

Response

{ "deleted": "ISS-4821" }

Comments

GET/api/issues/{ref}/commentsAuth required

List comments on an issue, oldest first.

Response

{
  "comments": [
    {
      "id": 3,
      "issue_id": 12,
      "author": "sam",
      "kind": "comment",
      "body": "Reproduced on Safari 18",
      "created_at": "2026-03-28T11:00:00Z"
    }
  ],
  "total": 1
}
POST/api/issues/{ref}/commentsAuth required

Add a comment to an issue.

Request Body

FieldTypeRequiredNote
bodystringYes—
authorstringNo—
kindstringNoDefault "comment"

Response

{
  "id": 4,
  "issue_id": 12,
  "author": "sam",
  "kind": "comment",
  "body": "Fix verified on staging",
  "created_at": "2026-03-28T14:30:00Z"
}

Subtasks

GET/api/issues/{ref}/subtasksAuth required

List subtasks on an issue, in sort order.

Response

{
  "subtasks": [
    {
      "id": 7,
      "issue_id": 12,
      "title": "Write regression test",
      "due": "2026-03-30",
      "done": false,
      "assignee": "sam"
    }
  ],
  "total": 1
}
POST/api/issues/{ref}/subtasksAuth required

Add a subtask to an issue. Appended at the end of the sort order.

Request Body

FieldTypeRequiredNote
titlestringYes—
duestringNo—
assigneestringNo—

Response

{
  "id": 8,
  "issue_id": 12,
  "title": "Update changelog",
  "due": null,
  "done": false,
  "assignee": null
}
PATCH/api/issues/{ref}/subtasks/{subtask_id}Auth required

Update a subtask. All fields optional.

Request Body

FieldTypeRequiredNote
titlestringNo—
duestringNo—
donebooleanNo—
assigneestringNo—

Response

{
  "id": 7,
  "issue_id": 12,
  "title": "Write regression test",
  "done": true
}
DELETE/api/issues/{ref}/subtasks/{subtask_id}Auth required

Delete a subtask.

Response

{ "deleted": 7 }
POST/api/issues/subtasks/{subtask_id}/toggleAuth required

Flip a subtask's done flag.

Response

{
  "id": 7,
  "issue_id": 12,
  "title": "Write regression test",
  "done": false
}

Stats

GET/api/issues/stats/summaryAuth required

Issue counts by status, plus open counts by priority.

Response

{
  "total": 24,
  "by_status": { "Backlog": 4, "To do": 8, "Done": 12 },
  "open_by_priority": { "P0": 1, "P1": 3, "P2": 8 }
}