-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Closed
Labels
enhancementa request to improve CLIa request to improve CLIgh-prrelating to the gh pr commandrelating to the gh pr command
Description
Describe the feature or problem you’d like to solve
Given I have a pull request in a non-classic project (projectsV2)
When I run gh pr view (TTY or not TTY)
Then the projects section should mention the project
Related #10708
Additional context
See pull request has projectItems which is projectsV2:
$ gh pr view https://andyfeller-0ee0571e6658472ea.qaboot.net/ghe-admin/v1-repo-projects/pull/3 --json projectCards,projectItems
Working...
{
"projectCards": [
{
"project": {
"name": "v1 project"
},
"column": {
"name": ""
}
}
],
"projectItems": [
{
"status": {
"optionId": "",
"name": ""
},
"title": "v2 team planning"
}
]
}But it's not included in the standard view outputs, only v2 classic projects are (this example is TTY but same for non-TTY)
$ gh pr view https://andyfeller-0ee0571e6658472ea.qaboot.net/ghe-admin/v1-repo-projects/pull/3
Working...
just a PR title ghe-admin/v1-repo-projects#3
Open • ghe-admin wants to merge 1 commit into main from sample-changes • about 1 day ago
+3 -0 • No checks
Projects: v1 project (Awaiting triage)
just a PR body
View this pull request on GitHub: https://andyfeller-0ee0571e6658472ea.qaboot.net/ghe-admin/v1-repo-projects/pull/3Metadata
Metadata
Assignees
Labels
enhancementa request to improve CLIa request to improve CLIgh-prrelating to the gh pr commandrelating to the gh pr command