{"version":"2.1.23","anchor":"github-pr-state-field","canonical_anchor":"github-pr-state-field","heading":"GitHub PR State Field","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.23\/e\/github-pr-state-field","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.23","markdown":"### GitHub PR State Field\n\n**What**\n\nPR view commands now include the `state` field in addition to existing fields.\n\n**Details**\n\n- `gh pr view --json` now fetches: `number,url,reviewDecision,isDraft,headRefName,state`\n- Previously only fetched: `number,url,reviewDecision,isDraft,headRefName`\n- Enables better PR status detection (open, closed, merged)\n\n**Evidence**\n\nGH command at line 578119 (contains `\"number,url,reviewDecision,isDraft,headRefName,state\"`)"}