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

Update filtering-and-searching-issues-and-pull-requests.md #33908

Merged
merged 6 commits into from
Jul 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@

The issues and pull requests search bar allows you to define your own custom filters and sort by a wide variety of criteria. You can find the search bar on each repository's **Issues** and **Pull requests** tabs and on your [Issues and Pull requests dashboards](/issues/tracking-your-work-with-issues/viewing-all-of-your-issues-and-pull-requests).

![Screenshot of the list of issues for a repository. Above the list, a search field, containing the query "is:issue is:open", is outlined in dark orange.](/assets/images/help/issues/issues-search-bar.png)

Check warning on line 132 in content/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests.md

View workflow job for this annotation

GitHub Actions / lint-content

Images alternate text should be between 40-150 characters

Image alternate text is 151 characters long.

{% tip %}

Expand Down Expand Up @@ -179,7 +179,7 @@

For issues, you can also use search to:

* Filter for issues that are linked to a pull request by a closing reference: `linked:pr`{% ifversion issue-close-reasons %}

Check warning on line 182 in content/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests.md

View workflow job for this annotation

GitHub Actions / lint-content

Liquid `ifversion` (and `elsif`) should not always be true

The Liquid ifversion condition 'issue-close-reasons' includes all possible versions and will always be true.
* Filter issues by the reason they were closed: `is:closed reason:completed` or `is:closed reason:"not planned"`{% endif %}

For pull requests, you can also use search to:
Expand All @@ -193,6 +193,7 @@
* Filter pull requests that someone has asked you directly to review: `state:open type:pr user-review-requested:@me`
* Filter pull requests by the team requested for review: `state:open type:pr team-review-requested:github/docs`
* Filter for pull requests that are linked to an issue that the pull request may close: `linked:issue`
* Filter pull requests by state of [merging](/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges): `is:merged` or `is:unmerged`

## Sorting issues and pull requests

Expand Down
Loading