We're in process of combining several long-standing BB Cloud and 2 BBDC workspaces.
Regarding the cloud instances we have a number of questions but first a general statement: Yes, moving git repos can be done easily, even scripted via clone/push-to-new-origin but we would like to preserve the metadata: PR reviews approvals, comments. Pipeline run history, etc. And we're also interested in preserving the Jira DVCS Connector links that are mapped to branches/commits/PRs via the Developer panel on the issue screen. So...
- Transferring repos to new workspace - seems only possible through UI (no REST API) Doesn't seem scalable.
- How to preserve the Jira DVCS (Issue Developer panel) links. These appear to be hashcode maps to urls in the connected DVCS acct. How can these be restored/repaired when the repo is moved from bitbucket.com/a to bitbucket.com/b?
- There are bi-directional links established between BB and Jira instances when connected. Are these "smart" enough to re-establish links via regex patterns and commit hashes?
Thanks to anyone in advance who can shed some light here.