Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Auto merge pull request via API

Rinish Ramakrishnan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 25, 2017

Hello Guys,

Is there any way to auto merge the pull request via API using PUT method. Help is appreciated here.

 

1 answer

Rinish Ramakrishnan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 9, 2017

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. 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence administration certification, atlassian certified professional, confluence admin for cloud, atlassian learning, confluence training, confluence certification exam, confluence cloud admin, admin credential, atlassian certification

Become a certified Confluence admin today! 📖

Stand out as a skilled Confluence Cloud administrator. The Confluence Administration for Cloud certification proves you can configure permissions, manage site and space settings, and monitor activity—ensuring secure, effective collaboration for your team.

Start here
AUG Leaders

Atlassian Community Events