Skip to content

gh issue view fails with GraphQL deprecation warning for Projects (classic) #11992

@bukzor

Description

@bukzor

Description

gh issue view fails with a GraphQL deprecation warning when querying issues that have project cards.

Steps to reproduce

gh issue view --repo anthropics/claude-code 10115

Error message

GraphQL: Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. (repository.issue.projectCards)

Expected behavior

The command should complete without deprecation warnings, or handle them gracefully.

Additional context

  • gh issue create works without this warning, suggesting inconsistent GraphQL query implementations
  • The deprecated field is repository.issue.projectCards
  • GitHub deprecated Projects (classic) in May 2024
  • The command should use the new Projects API instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    gh-issuerelating to the gh issue command

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions