-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
gh issue list --json number,milestone outputs empty fields, even when the fields are not empty.
$ gh --version
gh version 1.9.2 (2021-04-20)
https://github.com/cli/cli/releases/tag/v1.9.2
MacOS Catalina.
Steps to reproduce the behavior
gh issue list --json number,milestone
Notice that issues with milestones are either { title: "" } or null.
Expected vs actual behavior
Expect the json fields to be populated with correct data.
Logs
$ gh issue list -L5 --json number,milestone
[
{
"milestone": {
"title": ""
},
"number": 1043
},
{
"milestone": {
"title": ""
},
"number": 1042
},
{
"milestone": null,
"number": 1039
},
{
"milestone": {
"title": ""
},
"number": 1038
},
{
"milestone": null,
"number": 1037
}
]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working