Skip to content

list_issues fails on GHES: IssueFieldValueFilter isn't a defined input type #3068

Description

@kerobbi

Describe the bug

list_issues fails on GHES with:

failed to list issues: IssueFieldValueFilter isn't a defined input type (on $issueFieldValues)

The query always includes issueFieldValues in filterBy, so where IssueFieldValueFilter isn't in the schema the whole query is rejected before it runs, leaving no partial results to fall back on - unlike the follow-up enrichment query in #2831.

It also selects issueFieldValues on each issue node (via IssueFragment), so the same query carries the #2831 schema dependency as well - dropping the filter alone will still fail where Issue.issueFieldValues isn't in the schema.

Affected version

Reported against v1.8.0 in #2897 (comment), still present on main.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions