Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh pr list do not show some PR #7538

Copy link
Copy link
Closed
Closed
Copy link
@fpistm

Description

@fpistm
Issue body actions

Describe the bug

$ gh --version
gh version 2.30.0 (2023-05-30)
https://github.com/cli/cli/releases/tag/v2.30.0

when using gh pr list, some PR are not listed while they should.

Here an example resulting in an empty list

$ gh pr list --repo stm32duino/Arduino_Core_STM32 -L 1000 --state all --json "id,number,title,author,state,labels,createdAt,closedAt,updatedAt,url" --search created:2022-10-07..2022-10-12
[]

while a PR should be listed:

$ gh pr view --repo stm32duino/Arduino_Core_STM32 1845 --json "id,number,title,author,state,labels,createdAt,closedAt,updatedAt,url"
{
  "author": {
    "id": "MDQ6VXNlcjExNzk0NjEx",
    "is_bot": false,
    "login": "mikaelsundin",
    "name": "Mikael Sundin"
  },
  "closedAt": "2022-10-11T13:52:58Z",
  "createdAt": "2022-10-08T20:34:56Z",
  "id": "PR_kwDOBWqIu85AcEns",
  "labels": [
    {
      "id": "MDU6TGFiZWw2MDIxNjk4ODE=",
      "name": "Enhancement",
      "description": "",
      "color": "84b6eb"
    }
  ],
  "number": 1845,
  "state": "MERGED",
  "title": "Added F13-F24 to USB HID.",
  "updatedAt": "2022-10-11T13:52:58Z",
  "url": "https://github.com/stm32duino/Arduino_Core_STM32/pull/1845"
}

It occurs for several PR.

Steps to reproduce the behavior

  1. gh pr list --repo stm32duino/Arduino_Core_STM32 -L 1000 --state all --json "id,number,title,author,state,labels,createdAt,closedAt,updatedAt,url" --search created:2022-10-07..2022-10-12
  2. Empty result which is wrong

Expected vs actual behavior

Having the PR listed.

Logs

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't workingplatformProblems with the GitHub platform rather than the CLI clientProblems with the GitHub platform rather than the CLI client

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.