Bitbucket Cloud Jira integration links to invalid or old urls
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
When switching over to using the enterprise Jira/confluence edition from cloud, or vice versa, sometimes the linkage between Bitbucket Cloud and jira stops working.
Cause
If "Invalid Credentials" and the ID being shown instead of the instance name, the connection from JIRA to Bitbucket Cloud was based on a single user's credentials that no longer has access. This connection is made and maintained in DVCS, so any changes on Bitbucket Cloud for the user's access can cause this behavior.
Additionally, migrations from local to cloud JIRA instances can cause the links to still reference the old JIRA instance.
Solution
The issue can be fixed by going straight into DVCS -> disconnecting the workspace -> reconnecting it.
OR
Navigate to the Repository settings > Links
Review the custom link to ensure it's the old Jira instance.
Once confirmed, click the 'x' icon on the right to remove it.
Was this helpful?