Check out https://developer.atlassian.com/static/rest/bitbucket-server/latest/bitbucket-rest.html#idm140236731638960 if you are on server, https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/pullrequests/%7Bpull_request_id%7D/merge if you are using Cloud.
Thanks for your help. But when I use POST method as 'curl -i - u <user name> -H "content-type:application/json" https://bitbucket.../pull-requests/<pull-request number >/merge - X POST'. It throws error message 'You are attempting to modify a pull request based on out-of-date information'. For this error I appended '?version=-1' after merge in above url. Please advise.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs