Troubleshoot connections between Bitbucket Cloud and Jira Software
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
This page describes how you can identify and correct connection errors between Bitbucket Cloud and Jira Cloud. If you want to set up a new connection, see Connect Bitbucket Cloud to Jira Cloud. This page covers the following error scenarios:
Environment
Any Jira Cloud instance that connects to Bitbucket Cloud. Please see Integrate with Jira Software Cloud using OAuth if connecting to Bitbucket Data Center to Jira Cloud.
Diagnosis and Cause
Webhooks not installed
Diagnosis
We couldn't add a post-commit hook while connecting with the Jira app.
Solution
Read more about webhooks in Bitbucket Cloud.
Possible causes | Actions you can take |
---|---|
|
|
OAuth error
Diagnosis
INVALID CREDENTIALS
Solution
We couldn't refresh the account when you clicked Refresh Account because the OAuth credentials were incorrect or no longer exist.
Possible causes | Actions you can take |
---|---|
|
|
|
|
|
Refresh failed
Diagnosis
We couldn't refresh the account when you clicked Refresh Account.
Solution
Possible causes | Actions you can take |
---|---|
|
|
|
|
|
|
Sync error
Diagnosis
We couldn't sync the repository when you clicked Sync repo.
Solution
Possible causes | Actions you can take |
---|---|
|
|
|
|
|
|
Connection is not fully completed
Diagnosis
We couldn't add a post-commit hook while connecting with the Jira app. Read more about webhooks in Bitbucket Cloud.
Solution
Possible causes | Actions you can take |
---|---|
|
|
Issue links take me to Jira unexpectedly
Diagnosis
When Jira Software Cloud is connected with Bitbucket Cloud, clicking an issue link in Bitbucket takes you to Jira when you were actually expecting to see key details of the issue displayed in a dialog in Bitbucket.
Solution
Possible causes | Actions you can take |
---|---|
|
Note: This will simply re-connect Jira Software and Bitbucket – it won't cause any data to be lost. |