Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket merge using REST calls

Pranamya B November 16, 2022

We have 2 Bitbucket instances with data center license and are trying to import project, repository of one into the other following https://confluence.atlassian.com/bitbucketserver0721/export-and-import-projects-and-repositories-1115666538.html.

 

While the export works fine, the import doesn't. Even after specifying the correct path to exported tar file, it doesn't pick the file/path. Screenshot of the error is attached. 

Bitbucket.JPG

Bitbucket version =v7.21.4

$BITBUCKET_HOME = /var/atlassian/application-data/bitbucket

Location of tar file = /var/atlassian/application-data/bitbucket/shared/data/migration/import/

Unable to figure out why the import job is not picking the file correctly.

 

1 answer

0 votes
Pranamya B December 14, 2022

We were able to sort out the issue. Turns out the instance we were trying to import the file into did not have Bitbucket running. Just to add, we used Postman for import instead of running curl command on CLI.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events