A customer challenged us about the need to install our Connect App since the endpoint now seems to support OAuth 2.0 requests. Since we did create the Connect App specifically to do that single API call, I was surprised to see the Get user email now has a new OAuth 2.0 scope read:email-address:jira
in the documentation. So I tried it, and while I do see the new scope in the consent window during the OAuth handshake
using the resulting access token to do the actual API call https://api.atlassian.com/ex/jira/{cloudId}/rest/api/2/user/email?accountId={userAccountId}
fails with:
{
"code": 403,
"message": "The app is not installed on this instance"
}
Every other API call works so I was wondering:
- Is this feature is still in development?
- Any way for us to request access to it?
- Or am I doing something wrong?
Thank in advance!
BTW, I also tried with Confluence using the scope read:email-address:confluence
as documented and same results. I also found it documented in both Jira/Confluence “Granular scopes” lists.