{
  "slug": "github-graphql-createissuefield-mutation-adds-issue-fields-236a5fc5de13",
  "title": "GitHub GraphQL `createIssueField` mutation adds issue fields",
  "tools": [
    "github-graphql-api"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-12T00:00:00.000Z",
  "announced_at": "2026-03-12T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When creating an issue field for an organization, call `Mutation.createIssueField` with `dataType`, `name`, and the organization’s `ownerId`. Include `options` when applicable, such as for single-select fields.",
    "examples": [
      "mutation { createIssueField(input: { dataType: <ISSUE_FIELD_DATA_TYPE>, name: \"<field name>\", ownerId: \"<organization node ID>\" }) { issueField { __typename } } }"
    ],
    "gotchas": [
      "input (required): `CreateIssueFieldInput` for the mutation.",
      "dataType (required): Issue field data type (`IssueFieldDataType`).",
      "name (required): Name of the issue field.",
      "ownerId (required): ID of the organization where the field will be created.",
      "description: Description of the issue field.",
      "visibility: Visibility of the issue field (`IssueFieldVisibility`).",
      "clientMutationId: Unique identifier for the client performing the mutation.",
      "options: Options for the issue field if applicable; each option has required `color` (associated color), required `name` (option name), required `priority` (list priority), and optional `description`.",
      "options[].color (required): Color associated with the single-select option (`IssueFieldSingleSelectOptionColor`).",
      "options[].name (required): Name of the single-select option.",
      "options[].priority (required): Priority of the option in the list.",
      "options[].description: Description of the option.",
      "`dataType`, `name`, and `ownerId` are required inputs.",
      "`options` has type `[IssueFieldSingleSelectOption!]`."
    ]
  },
  "why_it_matters": "Create an issue field through the GitHub GraphQL API.",
  "sources": [
    "https://docs.github.com/en/graphql/overview/changelog#schema-changes-for-2026-03-12",
    "https://docs.github.com/en/graphql/reference/issues"
  ],
  "rank": 0.96027,
  "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-57d8d410ebef9cd9-0:gate",
    "evidence_hash": "912193d6318cbbe9e6d9a29d83bbd5a8d46afc4c93c8479aad9a6a524b60351c"
  },
  "review": {
    "draft_hash": "dae1ca8aa2c715e24a9692b6b4b480f744463d53b233b594d8649c32c853a31c",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-tools-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.96 >= 0.9; 2 needed) and Jev gave 0.68 (>= 0.6 needed)."
  }
}
