Reputation: 2181
I need to filter issues by id. For instance, I have #1, #2, #3, #4 issues, and I need to show only 2nd and 3rd issues (#2, #3). Is it possible?
Upvotes: 21
Views: 7356
Reputation: 812
I would like to share a full example of how to filter by issues id
As previously mentioned you just need to type in the numbers of ID as e.g. issue: 1 2 3
and it will filter those tickets.
Upvotes: 9
Reputation: 363
Expanding on Jana's answer above, you can also type the issue's ID (or several IDs) into the Filters' search bar without the hash symbol (#). For example if you want to see issues #66
#42
#17
, you can just enter 66 42 17
to show only those issues.
Upvotes: 7
Reputation: 279
To show a special issue, for example issue #4, you could just write the ID in the URL like this:
https://github.com/unknown-horizons/unknown-horizons/issues/4
Upvotes: 27
Reputation: 136909
GitHub provides many ways to search for issues, but no way directly to filter by a list of numbers. That's probably because in most cases it doesn't make much sense.
Instead of trying to see just issues #2 and #3, ask yourself what those issues have in common. Why are you trying to see them together, and hide the others? The answer to this question should point you in the right direction.
For example,
if the answer is "they are both assigned to the same person", search by assignee:
assignee:Alex
if the answer is "they are both labelled as important bugs", search by label:
label:bug label:important
There are many other ways that you can search. Finding the commonalities between the issues is the key to effective searching.
If those two issues have something else in common that isn't yet reflected in the issue tracker, you can always add a label to them and then search by label as above.
Upvotes: 1