By using the bitbucket Java APIs (eg: https://docs.atlassian.com/bitbucket-server/javadoc/4.0.0/api/reference/com/atlassian/bitbucket/pull/PullRequest.html), I am able to make commits via Bitbucket Java API based on an existing pull request in the Bitbucket server.
But I wonder if I can use the Bitbucket Java API to actually create a PullRequest? (eg: create repository, make file changes in that repository to create commit, open a pull request for that commit, and merge the pull request to the master branch.) It seems like Bitbucket API classes like PullRequest, Repository only provides getter methods. (https://docs.atlassian.com/bitbucket-server/javadoc/4.0.0/api/reference/com/atlassian/bitbucket/repository/Repository.html, eg: https://docs.atlassian.com/bitbucket-server/javadoc/4.0.0/api/reference/com/atlassian/bitbucket/pull/PullRequest.html)
Any help is greatly appreciated!
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events