When I want to add worklogs to an issue in Jira with the REST api I get an errormessage. "Field 'worklog' cannot be set. It is not on the appropriate screen, or unknown."
I have been looking at the json below for qit some time but I don't see what is wrong, my time zone is "Europe/Berlin", so +1000 sould be correct. The issue exists.
{
"update":{
"worklog":[
{
"add":{
"author":"apiuser",
"comment":"Prepare",
"created":"2017-10-26T16:11:21.000+0100",
"issueId":"10300",
"started":"2017-10-20T00:00:00.000+0100",
"timeSpentSeconds":900,
"updateAuthor":"apiuser",
"updated":"2017-10-26T16:11:21.000+0100"
}
}
]
}
}
The response I get is below.
{"errorMessages":[],"errors":{"worklog":"Field 'worklog' cannot be set. It is not on the appropriate screen, or unknown."}}
Anyone a sugestion?