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

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 Leaders.
October 15, 2024

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events