When am trying to import using Rest Api :
~$ curl -u fayaz:123456789 -s -n -X POST -H 'Content-type: application/json' -d '{"archivePath":"Bitbucket_export_56.tar"}' http://18.202.59.82:7990/rest/api/1.0/migration/imports | jq
Refer this link bitbucket-server_rest_5.16.0
got an error:
{"errors": [{"context": null,"message": "Data Center Migration (import) requires a Data Center license.","exceptionName": "com.atlassian.stash.internal.migration.InstanceMigrationImportUnavailableException"}]}
Thanks
Hi Jeevan,
As stated in the error message you need a Data Center license in order to use that functionality.
Cheers,
Christian
Premier Support Engineer
Atlassian
Hi @Christian Glockner,
So it doesn't work with Bitbucket Server?
Please confirm...
Thanks,
Jeevan
Indeed, if you wish to use this feature you need a Bitbucket Data Center license, a Bitbucket Server license is not sufficient.
Best regards,
Hi @Christian Glockner
Then how should i export and import the projects in Bitbucket Server?
Will you please help me out?
It looks like you're new here. Sign in or register to get started.