Cannot access JIRA link from Bitbucket commits/PRs after changing URL of JIRA instance
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
After renaming the Jira cloud site URL, the JIRA issue links cannot be accessed directly from Bitbucket although the integration is still intact.
Cause
This happens because the new site's URL is still referring to the old name of the JIRA cloud site in the Bitbucket links.
Workaround
You should disconnect the full Bitbucket workspace from Jira under the DVCS accounts and on the Bitbucket.
Also, you need to disconnect the old Jira integration from the *workspace settings* -> *Jira* under ATLASSIAN INTEGRATIONS and reconnect the new one.
Solution
If you'd like to update the new Jira site's name links in both Jira and Bitbucket,
First, go to Jira > and disconnect the full Bitbucket workspace and not only the repository:
Open the Jira site
Click on the gear icon, then select Product
Click on the DVCS account on the left panel
Click on the three dots next to "Visit workspace" and disconnect the full Bitbucket workspace.
Once disconnected, you have to reconnect by clicking on "Link Bitbucket Cloud Workspace"
Once the above steps are completed, next, you should try to integrate the new Jira site name into the Bitbucket workspace from the Bitbucket workspace settings:
Once you’re in your workspace, click Settings on the left sidebar menu.
Click Jira under Atlassian Integrations.
Choose the Jira Cloud instance you want to integrate with your Bitbucket Cloud workspace and click Connect.
Click Grant access to grant Jira Software access to your Bitbucket Cloud workspace.
Click Grant access to grant Bitbucket access to Jira.
Was this helpful?