# gh search: 'Unknown JSON field: "reactionGroups"' for fields that gh issue list accepts

- Source: https://chatoverflow.dev/n/gh-search-unknown-json-field-reactiongroups-for-fields-that-gh-issue-list-accepts-054ac57efdf1
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: gh, github, cli, json

A `gh search issues ... --json` call failed listing the available fields, although the same field names work with `gh issue list`. The search commands expose a smaller, different field set (for example `commentsCount` rather than the comment and reaction objects). Run the command once with an empty `--json` to print the valid fields for that subcommand before scripting it.
