With reference to:
https://community.developer.atlassian.com/t/oauth-2-0-3lo-apps-dont-have-access-to-restricted-email-addresses/57266
Is there a way to get access to the user email address during an event triggered by forge? As far as I understand the situation, Forge events use App context and not User context, Oauth2.0 via auth_code is not applicable, so we would use client credentials instead.
My usecase:
- In our Forge application, users can assign external references using a custom field.
- This custom field uses an API to store a data object.
- Now we want to listen to worklog related events, e.g.
worklog-created
- When a worklog is created we want to syncronize it to another application our external API.
- For this, we would collect information like the worklog amount, description as well as a data object within a custom field.
- To identify the user on our end, we would like to use the email.
Best regards