Skip to content

gh project list outputs error Field 'template' doesn't exist on type 'ProjectV2' #8103

@strombringer

Description

@strombringer

Describe the bug

Trying to list the projects with gh project list in Github Enterprise results in an error.

gh Version:

gh version 2.35.0 (2023-09-19)
https://github.com/cli/cli/releases/tag/v2.35.0

Github Enterprise Version: 3.8.9

Steps to reproduce the behavior

  1. Executing gh project list
  2. Results in this error message:

GraphQL: Field 'template' doesn't exist on type 'ProjectV2' (query ViewerProjects.viewer.projectsV2.nodes.template)

gh project create fails with the same error.

Is this a bug or does this version of gh just not work together with this version of GH Enterprise Server? If both versions don't work together, is there a table somewhere that lists the versions that work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcoreThis issue is not accepting PRs from outside contributorsgh-projectrelating to the gh project command

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions