Commit graph

9 commits

Author SHA1 Message Date
William Martin
d45acae604
Revert "refactor: deduplicate scope error handling between api/client.go and project queries" 2026-03-12 12:45:48 +01:00
yuvrajangadsingh
fdd6388086 refactor: deduplicate scope error handling between api/client.go and project queries
Consolidate duplicated INSUFFICIENT_SCOPES error handling into a single
implementation. The project queries package now calls
api.GenerateScopeErrorForGQL instead of reimplementing the same logic.

Removes duplicated requiredScopesFromServerMessage, scopesRE, and the
associated test (already covered by api/client_test.go).

Fixes #12823
2026-03-05 20:57:32 +05:30
William Martin
4dd50cf60c Fix project mutation query variable usage
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-23 07:13:07 -07:00
William Martin
8dcfd330e7
Add --query flag to project item-list (#12696)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Babak K. Shandiz <babakks@github.com>
2026-02-18 16:34:13 +01:00
Andy Feller
5f54201fc5 Ensure item iteration field is populated in tests
Updating tests to ensure `ProjectV2ItemFieldIterationValue` actually populates `IterationId` appropriately.
2025-02-03 15:25:15 -05:00
Heath Stewart
cf483770c9
Remove project JSON formatting objects (#8541) 2024-01-17 17:56:58 +00:00
ffalor
f4535004c2 clearer error message 2023-10-23 00:39:25 -05:00
Kamil Zuzda
5a0f892d4a
Add title to iteration and milestone fields for projects (#7621) 2023-06-29 11:10:01 +09:00
Ariel Deitcher
ad4a489f8d
Introduce gh project commands (#7375)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-06-09 16:57:01 +00:00