In my Forge app I am using the REST api “rest/api/3/user/search?query=” to lookup a user by their email address. The call is made “asApp”. This works very well but for one customer this call is always returning an empty result. Is there a way to check if this particular app installation resulted in any permission differences?
Are there any GDPR restrictions on use of user search? I found this old thread which indicates something similar but wasn’t sure what the latest was. User Search with Email & GDPR Impacts
Returns a user’s email address regardless of the user’s profile visibility settings. For Connect apps, this API is only available to apps approved by Atlassian, according to these guidelines. For Forge apps, this API only supports access via asApp() requests.
Don’t forget to add new OAuth 2.0 scope read:email-address:jira in the manifest.
Thanks for the response. In my case I am not looking to get a user’s email address. My app already has the email address and want to lookup Atlassian Account ID by calling the user api and passing the email address as a query parameter.