User impersonation for forge app

I want to copy worklogs for users selected using a multi-user picker.

In Jira automation, I need to set up rules for each individual, and I can only record worklogs as the API token holder using Basic Authentication.

Therefore, I am considering developing an extension.
I know that user impersonation is possible with act_as_user in connect apps, but I would like to avoid the need for server setup.

In the following link, it seems that impersonation is not possible in Forge apps, but is this still the case?
Is it possible to do in a similar way as the connect app or a different method?

1 Like

I don’t think this is yet possible in Forge. You can do API requests asUser for the current user only.

1 Like

Thank you for your prompt response.
I would like to consider development as the Connect app.

I hope that impersonation will be supported in the future in forge and automation.

Hi @mszpyra, are there any plans or open feature requests for user impersonation with Forge? Atlassian Connect can do that easily. Our use case is an integration: We want to show Jira issues on the user’s calendars but want to respect the permissions etc. set. Currently, the Forge app can only rely on the app users’ permission which can be too restrictive or too broad.
Thanks, Lukas

1 Like

Hey @LukasGotter I’m not aware of any plans or feature request for this. You can always raise feature request in Forge - Issues - Ecosystem Jira Forge project.

Here comes the message in a bottle: [FRGE-1214] - Ecosystem Jira (Please upvote if you want feature parity with the connect framework!)