I have trying to import a project in bitbucket(# v5.16.0)
using http://*.*.*.*.*:7990/rest/api/1.0/migration/imports in two cases as mention below and after running, the HTTP response code is 409 conflicts.
CASE 1: Using postman
{
"archivePath": "Bitbucket_export_56.tar"
}
CASE 2: Using curl command
curl -u fayaz:123456789 -s -n -X POST -H 'Content-type: application/json' -d '{"archivePath":"Bitbucket_export_56.tar"}' http://*.*.*.*.*:7990/rest/api/1.0/migration/imports | jq
GOT A SAME ERROR IN BOTH CASES:
{
"errors": [
{
"context": null,
"message": "Data Center Migration (import) requires a Data Center license.",
"exceptionName": "com.atlassian.stash.internal.migration.InstanceMigrationImportUnavailableException"
}
]
}