Troubleshoot Google email account connection issues in JSM Cloud
Platform Notice: Cloud Only - This article only applies to Atlassian apps on the cloud platform.
Summary
Linking a Google email account to a service project may cause request failures due to various reasons such as Jira lacking mailbox access permissions, suspended or revoked OAuth tokens, or misconfigured email settings. This may result in error messages like:
Looks like we're unable to connect to [example@atlassian.com]
We're currently unable to get requests from [example@atlassian.com] so we've temporarily disabled this channel.
Please reconfigure the custom email address in email settings and try again.
Retrying in XX minutes - Email pulling has failed X times consecutively (Reason: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden GET https://gmail.googleapis.com/gmail/v1/users/example@atlassian.com/messages?maxResult...Solution
Give Jira read permission to the mailbox
To fix this, you will need to disconnect and reconnect the email account on the project.
Go to Project settings > Channels & Self service > Email.
Next to the connected handler, click on more actions (three dots) > Remove > Confirm.
Click on Add external email > Continue with Google.
When following the steps to reconnect, ensure you check the following required permissions:
Select what Jira Service Management can access > Read, compose, and send emails from your Gmail account.
If your Gmail account is the only connected email, you can't disconnect it. First, select Create Atlassian email. After it's created, update the reply-to address to the default cloud email. Once you reconnect your custom email, update the reply-to address again.
Was this helpful?