{
  "slug": "github-graphql-api-adds-updateprojectv2view-mutation-fe4e471b3bf1",
  "title": "GitHub GraphQL API adds updateProjectV2View mutation",
  "tools": [
    "github-graphql-api"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-28T00:00:00.000Z",
  "announced_at": "2026-07-28T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a GitHub Project view needs a new name, filter, or layout, call `updateProjectV2View` with its required `viewId` and the fields to change. Select `projectV2View` from the mutation payload to get the updated view.",
    "examples": [
      "gh api graphql -f query='mutation { updateProjectV2View(input: {viewId: \"<VIEW_ID>\", name: \"<NAME>\", filter: \"<FILTER>\", layout: TABLE_LAYOUT}) { projectV2View { id name layout } } }'"
    ],
    "gotchas": [
      "input (required): The `UpdateProjectV2ViewInput` object.",
      "viewId (required): ID of the view to update.",
      "name: New view name.",
      "filter: New view filter.",
      "layout: New layout: `BOARD_LAYOUT`, `ROADMAP_LAYOUT`, or `TABLE_LAYOUT`.",
      "clientMutationId: Unique identifier for the client performing the mutation.",
      "Prerequisite: For GitHub CLI, authenticate with `gh auth login --scopes \"project\"` before running commands that edit projects.",
      "Docs conflict: The current GraphQL reference also lists an optional `configuration` input field; the changelog says it was added after 2026-07-28, so it is not included here."
    ]
  },
  "why_it_matters": "Update a view's name, filter, or layout in a GitHub project through the GraphQL API.",
  "sources": [
    "https://docs.github.com/en/graphql/overview/changelog#schema-changes-for-2026-07-28",
    "https://docs.github.com/en/graphql/reference/projects",
    "https://docs.github.com/en/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects"
  ],
  "rank": 0.93019,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-tools-20261017",
    "verdict_id": "wave1b-tools-20261017:wave1b-tools-20261017-232a576bd3f38ced-2:gate",
    "evidence_hash": "d46258e732b0b0a8e493014429dab1771a3de653da9c1e09c4067775e0f97617"
  },
  "review": {
    "draft_hash": "6491275290f300fa98ac248bb07adfaf159db4536dfd971b6eb48a298bea25f3",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-tools-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.79 (>= 0.6 needed)."
  }
}
