Skip to content

createPullRequest API not working #24349

Discussion options

You must be logged in to vote

@cjiang-ias 

This is working fine for me.

What is the error message that you are getting?

Also, is your testing branch pushed to the origin or it is a local branch?

mutation {
	createPullRequest(input: {
		repositoryId: "X-X-X-X",
		baseRefName: "master",
		title: "Pull request from github V4",
		headRefName: "parithibang-patch-3"
	}) {
		pullRequest {
			body
			title
		}
	}
}

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment