Incorrect repository URL used after changing URL in SCM Details

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

After changing the URL location of a repository, the old URL is still used.

Cause

The old URL is still cached in Fisheye/Crucible and needs to be cleared out so the new URL is used.

Resolution

  • Navigate to Administration >> Repository Settings >> Repositories

  • Next to the repository that is using the old URL, click on the gear cog and:

    • Stop the repository

    • Disable the repository

    • Enable the repository

    • Start the repository

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.