To create a worklog via the Jira Tempo API, I would POST the following data:
{
"attributes": {
"_Activity_": {
"name": "Activity",
"workAttributeId": 1,
"value": "Research"
}
},
"billableSeconds": null,
"comment": null,
"remainingEstimate": null,
"originTaskId": "PROJECTX-2",
"timeSpentSeconds": 10944,
"worker": "janedoe",
"started": "2021-03-22",
"endDate": "2021-03-26T00:00:00.000"
} Where do I get the value I'm supposed to send with the "worker" key? I've tried different variations of my name, including my email address and the workerId that is returned when I pull data for an existing worklog, but I still get the same response:
HTTP/2 400
{"errors":{"worker":"User is invalid"}}