Jira add task worklog as another user

Hello

I have a question I want to add worklog to task with method:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-rest-api-3-issue-issueIdOrKey-worklog-post

As I see I can only add it as authorized (header with login and token) user, is possible to add it as another user if I authorize as user with admin permissions?

1 Like

Hello, I have the same question.

@PiotrRugaa and @lagunovsky,

It is not possible to perform user impersonation with API Tokens or OAuth 2. Therefore, you would need to build an app using Atlassian Connect to use user impersonation so that the app could call the worklog API as a different user.