Forums

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

Need an api for creating branch and push the changes to branch to master

Lakshmi Kiran Ponnapalli November 16, 2017

I am trying to develop a new tool for my team which can help them do work more productively. I need to an  API to create a branch and update the branch with my commit and create a PR.  

 

Example : 

 

I have a repo A , when my java calls, it will create the branch and checkout the code into my local. I will do programtically changes then once that is done it should push the changes into git branch. We will manually review the change and push them into master branch.

 

 

is there any way we can get this type of API?

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 17, 2017

Hi lakshmi, have you seen already our online documentation for Bitbucket Server REST API and Bitbucket Cloud REST API

If it's possible, it should be there :)

Hope that helps!

Ana

Lakshmi Kiran Ponnapalli November 17, 2017

Thanks for this information. I am able to create the branch. but i need more stuff now. clone the project, checkout the project and commit the project etc.

 

Thanks

Lakshmi 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events