createPullRequest API not working #24349
-
Hey, I’ve added to my query everything that you indicated a need for in the docs for the GraphQL API’s createPullRequestInput, but I’m still getting the following errors:
Here’s my code for reference:
Any help around this would be highly appreciated. P.S. It would be really helpful to have examples for the mutations in your API documentation. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
By the way, there is a commit between the testing branch and the base branch of master - I added a test commit and pushed it up to the testing branch. |
Beta Was this translation helpful? Give feedback.
-
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?
|
Beta Was this translation helpful? Give feedback.
-
Thanks for following up, @parithiban. Turns out it was just the wrong repo ID. The mutation indeed works. |
Beta Was this translation helpful? Give feedback.
-
Thanks for sharing, works fine. |
Beta Was this translation helpful? Give feedback.
@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?