Update worklog
PUT
/rest/api/3/issue/{issueIdOrKey}/worklog/{id}
Issue worklogs
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://jira.local:8080/jira/rest//rest/api/3/issue//worklog/' \
--header 'Content-Type: application/json' \
--data-raw '{
"comment": {
"content": [
{
"content": [
{
"text": "I did some work here.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
},
"started": "2021-01-17T12:34:00.000+0000",
"timeSpentSeconds": 12000,
"visibility": {
"identifier": "276f955c-63d7-42c8-9520-92d01dca0625",
"type": "group"
}
}'
Response Response Example
200 - Success
{
"self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
"author": {
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
"accountId": "5b10a2844c20165700ede21g",
"displayName": "Mia Krystof",
"active": false
},
"updateAuthor": {
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
"accountId": "5b10a2844c20165700ede21g",
"displayName": "Mia Krystof",
"active": false
},
"comment": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "I did some work here."
}
]
}
]
},
"updated": "2021-01-18T23:45:00.000+0000",
"visibility": {
"type": "group",
"value": "jira-developers",
"identifier": "276f955c-63d7-42c8-9520-92d01dca0625"
},
"started": "2021-01-17T12:34:00.000+0000",
"timeSpent": "3h 20m",
"timeSpentSeconds": 12000,
"id": "100028",
"issueId": "10002"
}
Request
Path Params
issueIdOrKey
stringÂ
required
id
stringÂ
required
Query Params
notifyUsers
stringÂ
optional
adjustEstimate
stringÂ
optional
new
Sets the estimate to a specific value, defined in newEstimate
.leave
Leaves the estimate unchanged.auto
Updates the estimate by the difference between the original and updated value of timeSpent
or timeSpentSeconds
.newEstimate
stringÂ
optional
adjustEstimate
is new
.expand
stringÂ
optional
properties
, which returns worklog properties.overrideEditableFlag
stringÂ
optional
Body Params application/json
Responses
Modified at 2023-07-13 03:27:27