The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to commit file to a branch using bitbucket server apis ?

sumit ghorpade
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!
August 18, 2024

I am trying to automate creation of pull requests using bitbucket server apis. 

I am able to get the file content of a given file, modify the file. Create a new branch. But unable to commit the file to new branch using API. I am unable to find any documentation on APIs for committing file to a branch.

is there a way to achieve this scenario? at this points its just committing single file to a branch. 

Any support on this would be really helpful. 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
vikram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 15, 2024
TAGS
AUG Leaders

Atlassian Community Events