-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GraphQL error: Field 'stateReason' doesn't exist on type 'Issue' #11
Comments
Thanks for trying this on GitHub Enterprise. I have no access to a similar installation, and don't know anything about it. Is version 3.3 the latest? I'm not even sure how to find information about the versions and what they support. The GraphQL docs don't say what version introduced |
Thanks to your link in the other issue, I've found https://docs.github.com/en/[email protected]/graphql/reference/objects#issue, which does not mention |
It looks from the docs that 3.5 is the latest available, although the one I have access to is running on 3.3.7; unfortunately, since I don't manage the install, I'm limited to testing things against that version.
I did try briefly to organize a project for the list of repos I wanted to monitor, instead of using the YAML config, but I was not super impressed. I can't link a forked repo in a project (at least not on 3.3), and some of the repos I'm watching are forks. Also, I did ran into the issue with ProjectNext when trying to get a digest, so in the end I favored the YAML config :) FWIIW, I'm perfectly fine with project queries not working - they might work fine on 3.4 or 3.5, I have no way of testing that right now. |
I'm running into the same issue. Our company uses GitHub Enterprise Server 3.5.8 whereas the docs say:
So Alternatively, I could add another YAML setting and it ignore Like @heckler I have removed Reference Links |
I'm beginning to see the problem... Since the issue fragment is never directly called from The best I could hope for would be to set a flag in the YAML so that when It seems I'll have to lobby our ops team to update to a more recent version of GHE. |
Not sure whether this is dependent on server configuration or what, but when trying to get a digest for a repository on a Github Enterprise 3.3 instance, I'm getting this error about
stateReason
(full trace below)Editing
graphql\issue_frag.graphql
and removingstateReason
was enough to suppress the error;Even though
stateReason
is used intemplates\digest.html.j2
, it's absense from the issue fragment does not seem to have caused any issues with the rendering of the template.Error log
The text was updated successfully, but these errors were encountered: