After updating Jira URL, repository Source tab Jira links are pointing to the old Jira instance

XMLWordPrintable

    • 5
    • Severity 3 - Minor
    • 225

      Issue Summary

      If you've recently changed your Jira URL or migrated from the Jira Server to Cloud, the Source tab in multiple repositories with Jira issue links is still pointing to the old Jira instance.

      Steps to Reproduce

      1. Either rename your existing Jira Cloud instance URL or migrate from the Jira Server to Cloud
      2. Reconnect Jira to your Bitbucket Cloud workspace (i.e. Disconnecting and Connecting)
      3. Go to multiple repositories Source tab with Jira issue links under the "Message" column

      Expected Results

      The Jira issue links for the repository Source tab is linking to the new Jira instance

      Actual Results

      The Jira issue links for the repository Source tab is linking to the old Jira instance

      Workaround

      As a workaround, to refresh the repository Source tab cache, you can try the following:

      • Manually push a commit to the main branch of the repository
      • Create a new commit from the repository UI
      • Use the API endpoint below to push an empty commit:
        • curl -u bb_username:app_password -X POST -H "Content-Type: application/x-www-form-urlencoded" "https://api.bitbucket.org/2.0/repositories/workspace_id/repo_name/src" \
            --data-urlencode "message=Empty commit push" \
            --data-urlencode "author=Some Name <some_email@domain.com>"
          

            Assignee:
            Unassigned
            Reporter:
            Mark C
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: