Hi All,
we have recently upgraded to BB datacenter (8.9.6) from BB - Server (7.17). In jenkins pipeline we are running curl command to run merge pull request. In earlier version the same command format is working fine but in Data center getting 400 Bad request.
curl --header 'Accept: application/json' --header 'Content-Type: application/json' --header 'X-Atlassian-Token: nocheck' --user <username:pwd> -X POST 'https://{bitbucket-host-url}/rest/api/latest/projects/<project-key>/repos/<repo>/pull-requests/<pullreq-id>/merge?version=0'
Please help with the issue.
NOTE: Get pull requests API is working fine.
Hi,
You should look at the Bitbucket Server log file, which you can find at <BitbucketHome>/log/atlassian-bitbucket.log on each node.
Cheers,
Christian
Premier Support Engineer
Atlassian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.