I could integrate my GitHub with Visual Studio Code. I can see all my open PR's and issues in Visual Studio Code. But my requirement here is that I am not able to see my closed PR's. Is there any solution for this.
I have tried editing settings.json with githubPullRequests.queries as below.
,{
"label": "Closed PR'S",
"query": "is:closed mentions:${user}"
}
But it is showing 0 pull requests. But I have some closed pull requests that are available in GitHub. Could anyone please suggest other way.
This is followed by the GitHub Pull Requests and Issues VSCode extension, and its CHANGELOG.
It includes:
To customize the pull request tree, you can use the
githubPullRequests.queriessetting.
This setting is a list of labels and search queries which populate the categories of the tree.By default, these queries are "
Waiting For My Review", "Assigned To Me", and "Created By Me".
An example of adding a "Mentioned Me" category is to change the setting to the following:
"githubPullRequests.queries": [
{
"label": "Waiting For My Review",
"query": "is:open review-requested:${user}"
},
{
"label": "Assigned To Me",
"query": "is:open assignee:${user}"
},
{
"label": "Created By Me",
"query": "is:open author:${user}"
},
{
"label": "Mentioned Me",
"query": "is:open mentions:${user}"
}
]
You should be able to add a "my Closed PRs" section.
{
"label": "My Closed PRs",
"query": "is:closed assignee:${user}"
}
The OP SASI reports in the comments:
Actually I removed
usersand only usedis:closed
{
"label": "My Closed PRs",
"query": "is:closed"
}
*Please note that the PR source branch should not be deleted in order to view the PRs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With