Add worklog
POST
/rest/api/3/issue/{issueIdOrKey}/worklog
Issue worklogs
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '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
201 - Example 1
{
"author": {},
"comment": null,
"created": "2019-08-24T14:15:22Z",
"id": "string",
"issueId": "string",
"properties": [
{
"key": "string",
"value": null
}
],
"self": "http://example.com",
"started": "2019-08-24T14:15:22Z",
"timeSpent": "string",
"timeSpentSeconds": 0,
"updateAuthor": {},
"updated": "2019-08-24T14:15:22Z",
"visibility": {
"identifier": "string",
"type": "group",
"value": "string"
}
}
Request
Path Params
issueIdOrKey
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.manual
Reduces the estimate by amount specified in reduceBy
.auto
Reduces the estimate by the value of timeSpent
in the worklog.newEstimate
stringÂ
optional
adjustEstimate
is new
.reduceBy
stringÂ
optional
adjustEstimate
is manual
.expand
stringÂ
optional
properties
, which returns worklog properties.overrideEditableFlag
stringÂ
optional
Body Params application/json
Responses
Modified at 2023-07-13 03:27:27