Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't filter PRs properly #5982

Closed
Tracked by #5975
eyaleizenberg opened this issue May 1, 2024 · 2 comments
Closed
Tracked by #5975

Can't filter PRs properly #5982

eyaleizenberg opened this issue May 1, 2024 · 2 comments

Comments

@eyaleizenberg
Copy link

  • Extension version:
  • VSCode Version: 0.86.1
  • OS: Mac OS 14.4.1
  • Repository Clone Configuration (single repository/fork of an upstream repository): Single repo (Turbo monorepo)
  • Github Product (Github.com/Github Enterprise version x.x.x): Paid Github

Steps to Reproduce:

I have the following in my settings.json

  "githubPullRequests.queries": [
      {
      "label": "Waiting for Review",
      "query": "is:open label:'Ready for Review'"
    },
    {
      "label": "Assigned To Me",
      "query": "is:open review-requested:${user}"
    },
    {
      "label": "Created By Me",
      "query": "is:open author:${user}"
    },
    {
      "label": "Mentions Me",
      "query": "is:open mention:${user}"
    }
]

However, I always get 0 results even though there are many PRs in our repo with the lavel "Ready for Review". I've tried setting it as: Ready+for+Review and also changing the name of the label to "Ready" but it didn't work. The "Mentions Me" doesn't work for me either. I only get results for "Created by me" and "assigned to me".

@Mouhand999067 Mouhand999067 mentioned this issue May 1, 2024
@alexr00
Copy link
Member

alexr00 commented May 2, 2024

    {
      "label": "Mentions Me",
      "query": "is:open mention:${user}"
    }

This should be mentions, not mention.

@alexr00
Copy link
Member

alexr00 commented May 2, 2024

      {
      "label": "Waiting for Review",
      "query": "is:open label:'Ready for Review'"
    },

This should be "query": "is:open label:/"Ready for Review/""

@alexr00 alexr00 closed this as completed May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants