...
You want to pull the attachment from Bitbucket Server PR and push the same attachment to Cloud Bitbucket PR.
EX: Any Please refer below link to check the PR with attachment
https://bitbucket.chromacode.com/projects/CCC/repos/analysis_web/pull-requests/1101/overview
Solution
Develop the code to pull the atatchments from the Bitbucket Server PR and push to Bitbucket Cloud PR
Useful links
Sl No | Item | Description |
---|---|---|
1 | CodeBase Reference | https://bitbucket.miwalker.net/projects/BBCS/repos/replicate_pr_attachments/browse/readme.md |
2 |
Important Note:
...
Sl No | Details | Description |
---|---|---|
1 | server_username |
...
: ykundasi |
...
server |
...
_password |
...
server_url = https://bitbucket.chromacode.com |
...
For Password, check with impl team | |
2 | cloud_username |
...
You cloud app password https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/
cloud_password = 'Tintin@3814'
...
cloud_password cloud_workspace = https://bitbucket.org/chromacode | For Password, check with impl team |