Is it possible to add a work log on behalf of another user via Jira's API?
I tried using the documented author request body parameter, for example, like this:
{
"started": "2021-01-17T12:34:00.000+0000",
"timeSpentSeconds": 12000,
"author": {
"accountId": "557058:ed1482e3-00cb-41b9-89aa-XXXXXXX",
"emailAddress": "XXXX@XXX.XX"
}
}But unfortunately, it still adds the work log for the user associated with the authorization details provided with the request instead of the supplied author.
I need this to create a Zapier integration between a time tracker and Jira on an individual plan. I would like Zapier to add work logs using a central account but still by specifying who worked on a given task.
Thanks for your help.