-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Repository - Source
-
None
-
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
- Either rename your existing Jira Cloud instance URL or migrate from the Jira Server to Cloud
- Reconnect Jira to your Bitbucket Cloud workspace (i.e. Disconnecting and Connecting)
- 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>"