-
Notifications
You must be signed in to change notification settings - Fork 8.2k
gh pr edit returns an error with --add-project #10681
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I'm not able to use gh pr edit --add-project "anything" anymore, since this afternoon (EU time).
And my project used for this is V2 compliant, see the icon:
Affected version
gh version 2.69.0 (2025-03-19)
https://github.com/cli/cli/releases/tag/v2.69.0
Tested with version 2.67 too, same issue.
Steps to reproduce the behavior
- In a project within an organization, with at least one PR and one Project
- run this command on the PR mentioned above:
gh pr edit <pr_id> --add-project "project_name" - See error
error fetching organization projects (classic): 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/. (organization.projects.nodes.0), Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. (organization.projects.nodes.1), Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. (organization.projects.nodes.2), Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. (organization.projects.nodes.3)
Expected vs actual behavior
I expect the PR to be updated, as described in the documentation
Logs
Paste the activity from your command line. Redact if needed.
⣾* Request at 2025-03-26 17:56:09.332114 +0100 CET m=+0.043415293
* Request to https://api.github.com/graphql
⢿* Request took 410.302291ms
* Request at 2025-03-26 17:56:09.744357 +0100 CET m=+0.455659209
* Request to https://api.github.com/graphql
⣯* Request took 383.43725ms
⣾* Request at 2025-03-26 17:56:10.12827 +0100 CET m=+0.839571834
* Request to https://api.github.com/graphql
* Request at 2025-03-26 17:56:10.128317 +0100 CET m=+0.839618834
* Request to https://api.github.com/graphql
* Request at 2025-03-26 17:56:10.128344 +0100 CET m=+0.839646293
* Request to https://api.github.com/graphql
* Request at 2025-03-26 17:56:10.12827 +0100 CET m=+0.839571834
* Request at 2025-03-26 17:56:10.128364 +0100 CET m=+0.839665626
* Request to https://api.github.com/graphql
* Request to https://api.github.com/graphql
⣻* Request took 248.469ms
* Request took 352.49675ms
* Request took 352.472292ms
⡿* Request took 549.782958ms
⣻* Request took 1.250581084s
error fetching organization projects (classic): 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/. (organization.projects.nodes.0), Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. (organization.projects.nodes.1), Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. (organization.projects.nodes.2), Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. (organization.projects.nodes.3)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.