Skip to content

GraphQL: Field 'isInMergeQueue' doesn't exist on type 'PullRequest' #5778

@Hunter-Thompson

Description

@Hunter-Thompson

Describe the bug

While trying to merge pull request using the squash method and the HTML URL, I get the following error:

GraphQL: Field 'isInMergeQueue' doesn't exist on type 'PullRequest' (query PullRequestByNumber.repository.pullRequest.isInMergeQueue), Field 'isMergeQueueEnabled' doesn't exist on type 'PullRequest' (query PullRequestByNumber.repository.pullRequest.isMergeQueueEnabled)
gh version 2.12.0 (2022-06-08)
https://github.com/cli/cli/releases/tag/v2.12.0

Steps to reproduce the behavior

  1. Type this gh pr merge https://github.com/test/test/pull/3 -s

Expected vs actual behavior

Expected the PR to be merged via squash.

Logs

GraphQL: Field 'isInMergeQueue' doesn't exist on type 'PullRequest' (query PullRequestByNumber.repository.pullRequest.isInMergeQueue), Field 'isMergeQueueEnabled' doesn't exist on type 'PullRequest' (query PullRequestByNumber.repository.pullRequest.isMergeQueueEnabled)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority-1Affects a large population and inhibits work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions