Forums

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

How to create pullrequest to same branch in java program[API to call]

basuchi
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!
February 8, 2022

Hello,

 

I am struggling to create pull request from Java code. 


PullRequestCreateRequest prCreate = new PullRequestCreateRequest.Builder()
.title("Merger Request")
.repository()//from head of the method .fromRepository()
.fromBranch(null)
.toBranchId("master")
.build();

 

kindly suggest to me how to progress!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events