Skip to content

Work item worklogs overview ​

Worklogs record time spent on a work item. Each worklog belongs to one work item and holds a duration in minutes, the day the time was logged for, and an optional description.

Read and write a work item's worklogs under the work item's path. To report across many work items, list every worklog in a project, or in the whole workspace, in one request. The project list needs project admin, and the workspace list needs workspace owner or admin. Worklogs need the feature on the workspace's plan, which returns 402 without it, and time tracking turned on for the project.

Learn more about time tracking

The worklog object ​

Attributes ​

  • created_at string (date-time)

    When the worklog was created.

  • created_by_id string (uuid)

    The user who created the worklog.

  • updated_by_id string (uuid) or null

    The user who last updated the worklog. null until someone updates it.

  • description string

    Free-form description.

  • duration integer

    Time logged, in minutes.

  • id string (uuid)

    Unique identifier.

  • logged_at string (date-time) or null

    The day the time was logged for, stored as 12:00 UTC on that day. It defaults to the day the worklog was created, in the logger's time zone. Older worklogs can have null. The project and workspace lists then treat the creation day as the logged day.

  • logged_by_id string (uuid)

    The user who logged the time.

  • project_id string (uuid)

    The project the work item belongs to.

  • updated_at string (date-time)

    When the record last changed.

  • work_item_id string (uuid)

    The work item the time is logged against.

Response200
json
{
  "created_at": "2026-01-14T09:22:41.478363Z",
  "created_by_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
  "description": "What this is for.",
  "duration": 90,
  "id": "b7e42a19-3c5d-4f80-9a26-8d1c0f4e7b53",
  "logged_at": "2026-01-14T12:00:00Z",
  "logged_by_id": "f960d3c2-8524-4a41-b8eb-055ce4be2a7f",
  "project_id": "4af68566-94a4-4eb3-94aa-50dc9427067b",
  "updated_at": "2026-01-14T09:22:41.478363Z",
  "work_item_id": "9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88"
}

Endpoints ​

MethodPathDescription
GET/api/v2/workspaces/{slug}/projects/{project_id}/work-items/{work_item_id}/worklogs/List worklogs
GET/api/v2/workspaces/{slug}/projects/{project_id}/worklogs/List project worklogs
GET/api/v2/workspaces/{slug}/worklogs/List workspace worklogs
GET/api/v2/workspaces/{slug}/projects/{project_id}/worklogs/summary/Get the project worklog summary
GET/api/v2/workspaces/{slug}/projects/{project_id}/work-items/{work_item_id}/worklogs/{pk}/Get a worklog
POST/api/v2/workspaces/{slug}/projects/{project_id}/work-items/{work_item_id}/worklogs/Create a worklog
PATCH/api/v2/workspaces/{slug}/projects/{project_id}/work-items/{work_item_id}/worklogs/{pk}/Update a worklog
DELETE/api/v2/workspaces/{slug}/projects/{project_id}/work-items/{work_item_id}/worklogs/{pk}/Delete a worklog

Response shaping ​

The worklog lists and single reads accept ?fields= for sparse responses and ?expand=logged_by to embed the user who logged the time. See Sparse fields and Expanding relations. Errors follow the shared problem+json contract.