You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/issues/tracking-your-work-with-issues/using-issues/filtering-and-searching-issues-and-pull-requests.md
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -77,10 +77,10 @@ You can build advanced filters using boolean and nested queries on your reposito
77
77
78
78
You can use `AND` and `OR` operators to refine your filters.
79
79
80
-
Use `AND` when you need results where both statements are true. In the example filter below, the results will be comprised of issues with the "Bug fix" label that are assigned to the @octocat user.
80
+
Use `AND` when you need results where both statements are true. In the example filter below, the results will be comprised of issues with the "question" label that are assigned to the @octocat user.
81
81
82
82
```text
83
-
label:"Bug fix" AND assignee:octocat
83
+
label:"question" AND assignee:octocat
84
84
```
85
85
86
86
To return results where either statement is true, use `OR`. In the example below, the results will contain issues assigned to either @octocat or @hubot.
@@ -93,10 +93,10 @@ If you choose not to use `AND` and `OR` operators, {% data variables.product.git
93
93
94
94
### Using parentheses for more complicated filters
95
95
96
-
You can also use parentheses to nest filters and group qualifiers. In the example below, the results will contain issues that are either assigned to @octocat with the "bug" issue type or assigned to @hubot with the "Enhancement" issue type.
96
+
You can also use parentheses to nest filters and group qualifiers. In the example below, the results will contain issues that are either assigned to @octocat with the "bug" issue type or assigned to @hubot with the "Feature" issue type.
97
97
98
98
```text
99
-
(type:"Bug" AND assignee:octocat) OR (type:"Enhancement" AND assignee:hubot)
99
+
(type:"Bug" AND assignee:octocat) OR (type:"Feature" AND assignee:hubot)
100
100
```
101
101
102
102
You can nest filters using parentheses up to five levels deep.{% ifversion ghes < 3.18 %} It's not currently possible to include the `repo`, `org`, or `user` qualifiers within parentheses.{% endif %}
@@ -224,7 +224,8 @@ For issues, you can also use search to:
224
224
225
225
* Filter for issues that are linked to a pull request by a closing reference: `linked:pr`
226
226
* Filter issues by the reason they were closed: `is:closed reason:completed` or `is:closed reason:"not planned"`
227
-
{% ifversion issue-types %}* Filter for issues with a particular type: `is:open type:"Bug"`{% endif %}
227
+
{% ifversion issue-types %}* Filter for issues with a particular type: `is:open type:"Bug"`{% endif %}{% ifversion issues-advanced-search %}
228
+
* Filter for issues from repositories [**owned**](/search-github/searching-on-github/searching-issues-and-pull-requests#search-within-a-users-or-organizations-repositories) by a certain user or organization, limited to up to 16 `user` and `org` qualifiers with no limit on `repo` qualifiers: `state:open type:issue org:github OR user:octocat`{% endif %}
0 commit comments