Projects V2 updateProjectV2ItemFieldValue returns success but doesn't persist after toggling built-in automations #188492
Replies: 2 comments
-
|
💬 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.
-
Here's some suggestions:Narrowing This DownGiven that: The mutation returns success Delete works Manual drag works The issue appears after toggling built-in automations This suggests either a field ID mismatch or a state desync between API and UI. 1️⃣ Re-check the fieldId After re-enabling automations, confirm the fieldId hasn’t changed: If the ID was regenerated internally, the mutation may succeed structurally but target a stale field. 2️⃣ Query Immediately After the Mutation Right after calling updateProjectV2ItemFieldValue, query the item: If the updated value appears → likely UI sync issue If it does not → mutation is being accepted but discarded internally That distinction should make it easier for the team to isolate whether this is an API or board state problem. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Feature Area
Projects
Body
Bug: Projects V2 updateProjectV2ItemFieldValue returns success but doesn't persist after toggling built-in automations
Description
After enabling and then disabling GitHub Projects V2 built-in workflow automations (e.g., "Pull request merged → set status", "Item closed → set status"), the
updateProjectV2ItemFieldValueGraphQL mutation returns success but changes are not reflected in the board UI.Steps to Reproduce
updateProjectV2ItemFieldValuemutations correctly update item statusWhat works vs. what doesn't
updateProjectV2ItemFieldValueaddProjectV2ItemByIddeleteProjectV2ItemKey observations
Environment
ghCLI 2.65.0, macOS, OAuth token withprojectscope, user-owned projectWorkaround
Manual drag-and-drop.
deleteProjectV2Itemstill works via API.Guidelines
Beta Was this translation helpful? Give feedback.
All reactions