|
| 1 | +--- |
| 2 | +title: Overview |
| 3 | +description: Enables you to track time spent on issues within a project. Worklogs track duration in minutes and include details like description, timestamps, and user information. |
| 4 | +--- |
| 5 | + |
| 6 | +```http |
| 7 | +GET /api/v1/workspaces/:workspace-slug/projects/:project_id/issues/:issue_id/worklogs/ |
| 8 | +GET /api/v1/workspaces/:workspace-slug/projects/:project_id/total-worklogs/ |
| 9 | +POST /api/v1/workspaces/:workspace-slug/projects/:project_id/issues/:issue_id/worklogs/ |
| 10 | +PATCH /api/v1/workspaces/:workspace-slug/projects/:project_id/issues/:issue_id/worklogs/:worklog_id/ |
| 11 | +DELETE /api/v1/workspaces/:workspace-slug/projects/:project_id/issues/:issue_id/worklogs/:worklog_id/ |
| 12 | +``` |
| 13 | + |
| 14 | +## Worklogs object |
| 15 | + |
| 16 | +**Attributes** |
| 17 | + |
| 18 | +* `id` _string_ |
| 19 | + |
| 20 | + Unique identifier for the worklog |
| 21 | + |
| 22 | +* `created_at` _timestamp_ |
| 23 | + |
| 24 | + Timestamp when the worklog was created |
| 25 | + |
| 26 | +* `updated_at` _timestamp_ |
| 27 | + |
| 28 | + Timestamp when the worklog was last modified |
| 29 | + |
| 30 | +* `deleted_at` _timestamp_ |
| 31 | + |
| 32 | + Timestamp when the worklog was deleted |
| 33 | + |
| 34 | +* `description` _string_ |
| 35 | + |
| 36 | + Description of the work done during the worklog |
| 37 | + |
| 38 | +* `duration` _integer_ |
| 39 | + |
| 40 | + Time spent on the issue, recorded in minutes |
| 41 | + |
| 42 | +* `created_by` _string_ |
| 43 | + |
| 44 | + ID of user who created the worklog |
| 45 | + |
| 46 | +* `updated_by` _string_ |
| 47 | + |
| 48 | + ID of user who last modified the worklog |
| 49 | + |
| 50 | +* `project_id` _string_ |
| 51 | + |
| 52 | + ID of project associated with the worklog |
| 53 | + |
| 54 | +* `workspace_id` _string_ |
| 55 | + |
| 56 | + ID of workspace associated with the worklog |
| 57 | + |
| 58 | +* `logged_by` _string_ |
| 59 | + |
| 60 | + ID of the user who logged the work |
| 61 | + |
| 62 | + |
| 63 | +<ResponseExample> |
| 64 | +```json JSON |
| 65 | + { |
| 66 | + "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", |
| 67 | + "created_at": "2025-01-29T21:27:54.197306+05:30", |
| 68 | + "updated_at": "2025-01-29T21:27:54.197320+05:30", |
| 69 | + "description": "", |
| 70 | + "duration": 1, |
| 71 | + "created_by": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", |
| 72 | + "updated_by": null, |
| 73 | + "project_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", |
| 74 | + "workspace_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", |
| 75 | + "logged_by": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 76 | + } |
| 77 | +``` |
| 78 | +</ResponseExample> |
0 commit comments