Skip to content

manage_worklogs

Manage time tracking worklogs on Jira issues.

ActionDescriptionRequired ParamsOptional ParamsPermission
listList worklogsissue_keystart_at, max_resultsBROWSE_PROJECTS
addAdd a worklogissue_key, time_spentstarted, commentADD_COMMENTS
ParameterTypeDescription
actionstringRequired. list or add
issue_keystringRequired. Jira issue key (e.g., PROJ-123)
time_spentstringTime spent (for add), e.g., 2h, 1d, 30m
startedstringStart datetime ISO 8601 (for add), e.g., 2024-01-15T09:00:00.000+0000. Defaults to now
commentstringWorklog comment (for add)
start_atintPagination start index (for list)
max_resultsintMaximum results to return (for list)
{
"action": "list",
"issue_key": "PROJ-123"
}

Response:

{
"total": 2,
"worklogs": [
{
"id": "10001",
"author": "Jane Doe",
"time_spent": "2h",
"started": "2025-01-14T09:00:00.000+0000",
"comment": "API refactoring"
},
{
"id": "10002",
"author": "Bob Smith",
"time_spent": "30m",
"started": "2025-01-14T14:30:00.000+0000"
}
]
}
{
"action": "add",
"issue_key": "PROJ-123",
"time_spent": "2h",
"comment": "Implemented OAuth token refresh"
}

Response:

{
"id": "10003",
"time_spent": "2h",
"started": "2025-01-15T10:00:00.000+0000",
"status": "worklog added"
}