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!)

Any update on this? it has been 2 years.

If you need to find if there’s been an update @PrakashNatarajan , then all you need do is open either FRGE-1214 or FRGE-493 or ECO-573 yourself and see their status

You’re allowed to search JAC / EcoSystem projects to find all such feature requests and review their status anytime you want.

Thanks @sunnyape I am trying to upvote it, but that feature is not visible to me. :frowning:

This capability is now on the Forge Roadmap. We’ll likely publish an RFC in the coming month/s to source feedback from the community.

In the interim, please don’t hesitate to reach out via a direct message - I’d appreciate the opportunity to learn more about your use cases.

1 Like