Project V2: addProjectV2ItemById succeeds but items never persist — account-wide, affects both API and UI #188487
Replies: 5 comments
-
|
Looks similar to me: #188486 |
Beta Was this translation helpful? Give feedback.
-
|
Identical issue reported in #188486 by another user on the same day (March 2, 2026) — same symptoms with an org project and a PR instead of a personal project and issues. Appears to be a platform-wide regression in the project items indexing layer, not account-specific. |
Beta Was this translation helpful? Give feedback.
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Resolved — the bug self-resolved approximately 1.5 hours after first occurrence. All items (including ghost items from multiple add attempts) are now visible on the board with correct field values. No action taken on our end — it cleared on its own. Likely related to the PR incident that was active at the same time. |
Beta Was this translation helpful? Give feedback.
-
|
Heads up that this one seems to be back. Hit exactly the same thing on my personal Project V2 today (April 20, 2026), roughly 7 weeks after your original report. Setup is a single-user personal project with one private repo linked, nothing exotic. All 7 built-in workflows enabled including "Auto-add to project". What triggered it, as far as I can tell: during a troubleshooting session I ran a bunch of GraphQL mutations on the same handful of issues in about a 30 minute window. Added an issue via addProjectV2ItemById, deleted it, re-added it, closed the issue, created a duplicate issue, added that one, closed it again, created a third one, and finally added it via the web UI sidebar. Standard stuff, nothing unusual about any individual step. Every single mutation returned success with a fresh item ID. But every single item created during that 30 minute window has stayed invisible in project.items(first: 100). Items created before the window show up fine. Items created after the window, about an hour later through the web UI, also show up fine. Just that specific batch is stuck. The odd part is that the data is clearly there. When I query it from the issue side, repository.issue(N).projectItems returns the item with isArchived false and the correct project id. But when I query the same project from the other direction, project.items(first: 100), totalCount does not increment and the item is missing from the node list. So it is not a pagination thing, it is not an archived thing, the row just never lands in the inverse index. Workarounds I tried that did not help:
One thing that did help, partially: opening the default Table view in the web UI and manually clicking "+ Add item" on the affected issue made it show up in that one view. But the API still does not see it from the project side, so any automation depending on project.items stays broken. My best guess is a stuck materialization for a specific batch of items rather than something breaking at mutation time. The write path works, it's the inverse index that is not catching those rows, and the usual eventual-consistency path is not kicking in. Happy to share API response JSON or screenshots if someone on the team wants to look. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Cannot add ANY new items to any Project V2 board on my account. The
addProjectV2ItemByIdGraphQL mutation returns success, but items never appear in the project's items list or the board UI. Existing items (added weeks ago) still work fine.This affects both the API and the web UI — items appear briefly in the UI then vanish on refresh.
Account Details
Evidence
1. Mutation succeeds but items list unchanged
2. Item node exists but is invisible to the project
3. Brand new project board also fails
Created a fresh project, added 29 issues via mutation — all returned success.
totalCount: 0. The problem is account-wide, not specific to one project.4. Issue timeline confirms add/vanish cycle
This cycle repeated 5+ times across API and UI attempts.
5. Web UI behavior
Clicking "+ Add item" → searching for issue → adding it → item appears briefly in the column → disappears on the next render/refresh.
What I've Ruled Out
projectscope, and the UI (no token) also failsImpact
Expected Behavior
Items added via
addProjectV2ItemByIdor the UI should appear inprojectV2.itemsand remain visible on the board.Environment
ghCLI v2.45.0 and web UIBeta Was this translation helpful? Give feedback.
All reactions