GraphQL API : linking issue to PR and updatePullRequest bug with projectIds #76626
Unanswered
MetMS
asked this question in
Apps, API and Webhooks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Hello,
I'm having two issues and I would like to know if other persons have the same.
First one is how to link an issue (not a pull request) to a pull request by using GraphQL API. I've been looking in the documentation but with CreatePullRequest or UpdatePullRequest I don't see input allowing that.
I would like to know if someone know another way to do that ?
Second one is that with UpdatePullRequest I have the following error (value is xxxx for security):
{"data":{"updatePullRequest":null},"errors":[{"type":"NOT_FOUND","path":["updatePullRequest"],"locations":[{"line":2,"column":9}],"message":"Could not resolve to P roject node with the global id of 'PVT_xxxxxxxxx-8'"}]}I've added the header 'X-Github-Next-Global-ID': 1 but it doesn't do anything. Even with Github Explorer i'm having this issue.
By the way, the id of project come from this query :
Thanks in advance for any help :)
Beta Was this translation helpful? Give feedback.
All reactions