# イシューおよびプルリクエストを検索する

問題を検索し、 GitHub で要求をプルし、これらの検索修飾子を任意の組み合わせで使用して結果を絞り込むことができます。

GitHub 全体で Issue と pull request をグローバルに検索したり、特定の organization 内で Issue と pull request を検索したりできます。 詳しくは、「[GitHubでの検索について](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/about-searching-on-github)」をご覧ください。

> \[!TIP]
>
> * この記事には、 GitHub.comでの検索例が含まれていますが、他の GitHub プラットフォームでも同じ検索フィルターを使用できます。
> * リポジトリの問題ページ、 問題ダッシュボードでブール型クエリと入れ子になったクエリを使用して、高度なフィルターを作成できます。
>   [「AUTOTITLE」を](/ja/enterprise-server@3.22/issues/tracking-your-work-with-issues/using-issues/filtering-and-searching-issues-and-pull-requests#building-advanced-filters-for-issues)参照してください。
> * 検索結果をさらに改善するために検索修飾子を追加できる検索構文の一覧については、「[検索構文を理解する](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)」を参照してください。
> * 複数単語の検索用語は引用符で囲みます。 たとえば "In progress" というラベルの問題を検索したい場合は、`label:"in progress"` と検索します。 検索では、大文字と小文字は区別されません。
> * 修飾子に一致する結果を除外するには、マイナス (ハイフン) 記号を使用します。 たとえば、"octocat" ユーザーによって作成された issue を無視するには、検索で `-author:octocat` を使用します。 これは、欠落しているメタデータ修飾子では機能 [しないことに注意してください](#search-by-missing-metadata)。
> * キーボードショートカットを使えば、Issueあるいはプルリクエストのリストの上にある検索バー上のカーソルに集中できます。 詳しくは、「[キーボード ショートカット](/ja/enterprise-server@3.22/get-started/accessibility/keyboard-shortcuts#issue-and-pull-request-lists)」をご覧ください。

## 問題またはプルリクエストのみを検索

既定では、 GitHub 検索では問題と pull request の両方が返されます。 ただし、`type` または `is` の修飾子を使うことで、issue または pull request に限った検索ができます。

| 修飾子                                                                                                                                                                                                                                      | 例 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `type:pr`                                                                                                                                                                                                                                |   |
| \[                                                                                                                                                                                                                                       |   |
| **cat type:pr**]\(<https://github.com/search?q=cat+type%3Apr&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、"cat" という単語を含む pull request と一致します。                                                                   |   |
| `type:issue`                                                                                                                                                                                                                             |   |
| \[                                                                                                                                                                                                                                       |   |
| **github commenter:defunkt type:issue**]\(<https://github.com/search?q=github+commenter%3Adefunkt+type%3Aissue&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、"github" という単語を含み、@defunkt によるコメントがある issue と一致します。 |   |
| `is:pr`                                                                                                                                                                                                                                  |   |
| \[                                                                                                                                                                                                                                       |   |
| **event is:pr**]\(<https://github.com/search?utf8=%E2%9C%93&q=event+is%3Apr&type=&ref_product=github&ref_type=engagement&ref_style=text>) は、"event" という単語を含む pull request と一致します。                                                        |   |
| `is:issue`                                                                                                                                                                                                                               |   |
| \[                                                                                                                                                                                                                                       |   |
| **is:issue label:bug is:closed**]\(<https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+label%3Abug+is%3Aclosed&type=&ref_product=github&ref_type=engagement&ref_style=text>) は、"bug" というラベルを持つクローズした issue と一致します。                    |   |

## タイトル、本文、またはコメントで検索

`in` 修飾子によって、タイトル、本文、コメントやその組み合わせに限定した検索ができます。 この修飾子を省略した場合、タイトル、本文、そしてコメントがすべて検索されます。

| 修飾子                                                                                                                                                                                       | 例 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `in:title`                                                                                                                                                                                |   |
| \[                                                                                                                                                                                        |   |
| **warning in:title**]\(<https://github.com/search?q=warning+in%3Atitle&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、タイトルに "warning" を含む issue と一致します。            |   |
| `in:body`                                                                                                                                                                                 |   |
| \[                                                                                                                                                                                        |   |
| **error in:title,body**]\(<https://github.com/search?q=error+in%3Atitle%2Cbody&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、タイトルまたは本文に "error" を含む issue と一致します。 |   |
| `in:comments`                                                                                                                                                                             |   |
| \[                                                                                                                                                                                        |   |
| **shipit in:comments**]\(<https://github.com/search?q=shipit+in%3Acomment&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、コメントで "shipit" とメンションされている issue と一致します。  |   |

## ユーザまたは Organization のリポジトリ内の検索

特定のユーザーや organization が所有する、すべてのリポジトリ内の issue と pull request を検索するには、`user` または `org` 修飾子を使います。 特定のリポジトリの issue や pull request を検索するには、`repo` 修飾子を使います。

10,000 を超えるリポジトリで pull request にアクセスできる場合は、結果を表示するには、検索を特定の組織、個人アカウント、またはリポジトリに制限する必要があります。

| 修飾子                                                                                                                                                                                                                                                             | 例 |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code>user:<em>USERNAME</em></code>                                                                                                                                                                                                                             |   |
| \[                                                                                                                                                                                                                                                              |   |
| **user:defunkt ubuntu**]\(<https://github.com/search?q=user%3Adefunkt+ubuntu&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、@defunkt が所有するリポジトリの "ubuntu" という単語を含む issue と一致します。                                                         |   |
| <code>org:<em>ORGNAME</em></code>                                                                                                                                                                                                                               |   |
| \[                                                                                                                                                                                                                                                              |   |
| **org:github**]\(<https://github.com/search?q=org%3Agithub&type=Issues&utf8=%E2%9C%93&ref_product=github&ref_type=engagement&ref_style=text>) は、GitHub組織が所有するリポジトリの問題と一致します。                                                                                    |   |
| <code>repo:<em>USERNAME/REPOSITORY</em></code>                                                                                                                                                                                                                  |   |
| \[                                                                                                                                                                                                                                                              |   |
| **repo:mozilla/shumway created:<2012-03-01**]\(<https://github.com/search?q=repo%3Amozilla%2Fshumway+created%3A%3C2012-03-01&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は 2012 年 3 月より前に作成された @mozilla の shumway プロジェクトの issue と一致します。 |   |

## オープンかクローズかで検索

`state` または `is` 修飾子を使って、オープンかクローズかで、issue と pull request をフィルタリングできます。

| 修飾子                                                                                                                                                                                                                                                   | 例 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `state:open`                                                                                                                                                                                                                                          |   |
| \[                                                                                                                                                                                                                                                    |   |
| **libraries state:open mentions:vmg**]\(<https://github.com/search?utf8=%E2%9C%93&q=libraries+state%3Aopen+mentions%3Avmg&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、"libraries" という単語を含む @vmg をメンションするオープンの issue と一致します。 |   |
| `state:closed`                                                                                                                                                                                                                                        |   |
| \[                                                                                                                                                                                                                                                    |   |
| **design state:closed in:body**]\(<https://github.com/search?utf8=%E2%9C%93&q=design+state%3Aclosed+in%3Abody&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、本文に "design" という単語が含まれるクローズされた課題と一致します。                           |   |
| `is:open`                                                                                                                                                                                                                                             |   |
| \[                                                                                                                                                                                                                                                    |   |
| **performance is:open is:issue**]\(<https://github.com/search?q=performance+is%3Aopen+is%3Aissue&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、"performance" という単語を含むオープンな issue と一致します。                                      |   |
| `is:closed`                                                                                                                                                                                                                                           |   |
| \[                                                                                                                                                                                                                                                    |   |
| **android is:closed**]\(<https://github.com/search?utf8=%E2%9C%93&q=android+is%3Aclosed&type=&ref_product=github&ref_type=engagement&ref_style=text>) は、"android" という単語を含む、クローズした issue や pull request と一致します。                                        |   |

## プル要求がアーカイブされているかどうかに基づく検索

リポジトリ管理者は、プル要求をアーカイブしてパブリック ビューから削除できます。
`is:archived`修飾子を使用して、アーカイブされたプル要求を検索できます。 詳しくは、「[プル要求をアーカイブする](/ja/enterprise-server@3.22/communities/moderating-comments-and-conversations/archive-pull-requests)」をご覧ください。

| 修飾子                                                                                                                                                                                                         | 例 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `is:archived`                                                                                                                                                                                               |   |
| \[                                                                                                                                                                                                          |   |
| **is:archived is:pr spam**]\(<https://github.com/search?q=is%3Aarchived+is%3Apr+spam&ref_product=github&ref_type=engagement&ref_style=text>) は、自分がリポジトリ管理者であるリポジトリ内で "spam" という単語を含む、アーカイブ済みのプルリクエストに該当します。 |   |

## マージ キューで pull request を検索する

`is` 修飾子を使用して、マージするためにキューに登録されている pull request を検索することもできます。

| 修飾子                                                                                                                                                                             | 例 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `is:queued`                                                                                                                                                                     |   |
| \[                                                                                                                                                                              |   |
| **is:queued**]\(<https://github.com/search?q=is%3Aqueued&type=pullrequests&ref_product=github&ref_type=engagement&ref_style=text>) は、マージするために現在キューに登録されている pull request と一致します。 |   |

## 課題がクローズされた理由で検索する

`reason` 修飾子を使うと、issue がクローズされたときの設定された理由に基づいて、issue をフィルター処理することができます。

| 修飾子                                                                                                                                                                                                                                                            | 例 |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `reason:completed`                                                                                                                                                                                                                                             |   |
| \[                                                                                                                                                                                                                                                             |   |
| **libraries is:closed reason:completed**]\(<https://github.com/search?q=libraries+is%3Aclosed+reason%3Acompleted&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、"completed" としてクローズされた、"libraries" という単語を含む issue に一致します。               |   |
| `reason:"not planned"`                                                                                                                                                                                                                                         |   |
| \[                                                                                                                                                                                                                                                             |   |
| **libraries is:closed reason:"not planned"**]\(<https://github.com/search?q=libraries+is%3Aclosed+reason%3A%22not+planned%22&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、"not planned" としてクローズされた、"libraries" という単語を含む issue に一致します。 |   |

## リポジトリの可視性によるフィルタ

`is` 修飾子を使って、Issue と pull request を含むリポジトリの可視性でフィルタリングできます。 詳しくは、「[リポジトリについて](/ja/enterprise-server@3.22/repositories/creating-and-managing-repositories/about-repositories#about-repository-visibility)」をご覧ください。

| 修飾子                                                                                                                                                                                                                    | 例 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `is:public`                                                                                                                                                                                                            |   |
| \[                                                                                                                                                                                                                     |   |
| **is:public**]\(<https://github.com/search?q=is%3Apublic&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、パブリック リポジトリの issue や pull request と一致します。                                               |   |
|                                                                                                                                                                                                                        |   |
| `is:internal`                                                                                                                                                                                                          |   |
| \[                                                                                                                                                                                                                     |   |
| **is:internal**]\(<https://github.com/search?q=is%3Ainternal&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、内部リポジトリの issue や pull request と一致します。                                               |   |
|                                                                                                                                                                                                                        |   |
| `is:private`                                                                                                                                                                                                           |   |
| \[                                                                                                                                                                                                                     |   |
| **is:private cupcake**]\(<https://github.com/search?q=is%3Aprivate+cupcake&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、アクセスできるプライベート リポジトリ内の "cupcake" という単語を含む issue や pull request と一致します。 |   |

## 作者で検索

`author` 修飾子は、特定のユーザーまたは統合アカウントが作成した issue と pull request を検索します。

| 修飾子                                                                                                                                                                                                                     | 例 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code>author:<em>USERNAME</em></code>                                                                                                                                                                                   |   |
| \[                                                                                                                                                                                                                      |   |
| **cool author:gjtorikian**]\(<https://github.com/search?q=cool+author%3Agjtorikian&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、@gjtorikian が作成した "cool" という単語を含む issue や pull request と一致します。 |   |
| `in:body`                                                                                                                                                                                                               |   |

<code>
author:
<em>
USERNAME
</em>
</code>
| 
[
**bootstrap in:body author:mdo**](https://github.com/search?q=bootstrap+in%3Abody+author%3Amdo&type=Issues&ref_product=github&ref_type=engagement&ref_style=text) は、本文に "bootstrap" という単語を含む、@mdo が作成した issue と一致します。
| <code>author:app/<em>USERNAME</em></code> | 
[
**author:app/robot**](https://github.com/search?q=author%3Aapp%2Frobot&type=Issues&ref_product=github&ref_type=engagement&ref_style=text) は、"robot" という名前の統合アカウントが作成した issue と一致します。
| <code>-</code><code>author:app/<em>USERNAME</em></code> | 
[
**author:app/robot**](https://github.com/search?q=-author%3Aapp%2Frobot&type=Issues&ref_product=github&ref_type=engagement&ref_style=text) は、"robot" という名前の統合アカウント以外の任意のユーザーが作成した issue と一致します。 修飾子の前のマイナス記号またはダッシュ文字 (<code>-</code>) は、検索クエリの修飾子の論理 NOT を示します。

## アサインされた人で検索

`assignee` 修飾子は、特定のユーザーにアサインされた Issue と pull request を検索します。 ワイルドカード文字 \_\_ を使用して、`*` 担当者を含む issue や pull request を検索できますが、これは単一のリポジトリ内でのみ可能です。 また、[担当者を含まない issue や pull request を検索する](#search-by-missing-metadata)こともできます。

| 修飾子                                                                                                                                                                                                                                                                      | 例 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | - |
| <code>assignee:<em>USERNAME</em></code>                                                                                                                                                                                                                                  |   |
| \[                                                                                                                                                                                                                                                                       |   |
| **assignee:vmg repo:libgit2/libgit2**]\(<https://github.com/search?utf8=%E2%9C%93&q=assignee%3Avmg+repo%3Alibgit2%2Flibgit2&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、@vmg に割り当てられている libgit2 のプロジェクト libgit2 の issue や pull request と一致します。 |   |
| <code>assignee:\*</code>                                                                                                                                                                                                                                                 |   |
| \[                                                                                                                                                                                                                                                                       |   |
| **is:open is:issue assignee:\***]\(<https://github.com/openssl/openssl/issues/assigned/>\*) は、任意のユーザーに割り当てられた単一リポジトリ内の未解決の issue に一致します。                                                                                                                                 |   |

## メンションで検索

`mentions` 修飾子は、特定のユーザーをメンションしている issue を検索します。 詳しくは、「[基本的な書き込みと書式設定の構文](/ja/enterprise-server@3.22/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#mentioning-people-and-teams)」をご覧ください。

| 修飾子                                                                                                                                                                                 | 例 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code>mentions:<em>USERNAME</em></code>                                                                                                                                             |   |
| \[                                                                                                                                                                                  |   |
| \*\*                                                                                                                                                                                |   |
| `resque mentions:defunkt`                                                                                                                                                           |   |
| \*\*                                                                                                                                                                                |   |
| ]\(<https://github.com/search?q=resque+mentions%3Adefunkt&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、@defunkt をメンションしている "resque" という単語を含む issue と一致します。 |   |

## チームメンションで検索

あなたが属する Organization や Teamは、`team` 修飾子を使って、Organization 内の特定の Team を @mention している issue または pull request を検索できます。 検索を行うには、これらのサンプルの名前をあなたの Organization および Team の名前に置き換えてください。

| 修飾子                                                    | 例 |
| ------------------------------------------------------ | - |
| <code>team:<em>ORGNAME/TEAMNAME</em></code>            |   |
| \*\*                                                   |   |
| `team:jekyll/owners`                                   |   |
| \*\* は、`@jekyll/owners` Team がメンションされている issue と一致します。 |   |
| <code>                                                 |   |
| team:                                                  |   |

<em>
ORGNAME/TEAMNAME
</em>
</code>
`is:open is:pr`
| 
**team:myorg/ops is:open is:pr** は、`@myorg/ops` Team がメンションされているオープンの pull request と一致します。

## コメントした人で検索

`commenter` 修飾子は、特定のユーザーからのコメントが含まれる issue を検索します。

| 修飾子                                                                                                                                                                                                                                                                    | 例 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code>commenter:<em>USERNAME</em></code>                                                                                                                                                                                                                               |   |
| \[                                                                                                                                                                                                                                                                     |   |
| **github commenter:defunkt org:github**]\(<https://github.com/search?utf8=%E2%9C%93&q=github+commenter%3Adefunkt+org%3Agithub&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、"github" という単語を含む、GitHubが所有するリポジトリ内の問題と一致し、@defunkt によってコメントを付けます。 |   |

## 問題やプルリクエストに関与しているユーザーで検索する

`involves` 修飾子は、特定のユーザーが何らかの方法で関与する Issue を検索します。
`involves` 修飾子は、1 人のユーザーを対象とした、`author`、`assignee`、`mentions`、`commenter` の修飾子の間の論理 OR です。 言い換えれば、この修飾子は、特定のユーザが作成した、当該ユーザにアサインされた、当該ユーザをメンションした、または、当該ユーザがコメントした、Issue およびプルリクエストを表示します。

| 修飾子                                                                                                                                                                                                                      | 例 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | - |
| <code>involves:<em>USERNAME</em></code>                                                                                                                                                                                  |   |
| \*\*                                                                                                                                                                                                                     |   |
| [involves:defunkt involves:jlord](https://github.com/search?q=involves%3Adefunkt+involves%3Ajlord\&type=Issues\&ref_product=github\&ref_type=engagement\&ref_style=text)\*\* は、@defunkt または @jlord が関与している issue と一致します。 |   |
| `in:body`                                                                                                                                                                                                                |   |

<code>
involves:
<em>
USERNAME
</em>
</code>
| 
[
**NOT bootstrap in:body involves:mdo**](https://github.com/search?q=NOT+bootstrap+in%3Abody+involves%3Amdo&type=Issues&ref_product=github&ref_type=engagement&ref_style=text) は@mdo が関与している、本文に "bootstrap" という単語を含まない issue と一致します。

## 私のイシューとプルリクエストを検索する

目的の修飾子の後に `@me` を付けることにより、作成した、もしくは関わった issue や pull request を検索できます。 ユーザー名を用いた修飾子を使用すると、作成した、割り当てられた、メンションされた、またはレビュー担当として要求された issue や pull request への検索を限定することができます。

| 修飾子                                                                                                                                                                                        | 例 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | - |
| <code>author:<em>@me</em></code>                                                                                                                                                           |   |
| \*\*                                                                                                                                                                                       |   |
| \[                                                                                                                                                                                         |   |
| author:@me                                                                                                                                                                                 |   |
| ]\(<https://github.com/search?q=author%3A%40me&ref_product=github&ref_type=engagement&ref_style=text>)                                                                                     |   |
| \*\* は、作成した issue と pull request と一致します。                                                                                                                                                   |   |
| <code>is:pr commenter:<em>@me</em></code>                                                                                                                                                  |   |
| \*\*                                                                                                                                                                                       |   |
| [is:pr commenter:@me](https://github.com/search?q=is%3Apr+commenter%3A%40me\&type=pullrequests\&ref_product=github\&ref_type=engagement\&ref_style=text)\*\* は、コメントした pull request に一致します。 |   |

## リンクされた Issue とプルリクエストを検索する

結果を絞り込んで、クローズしているリファレンスによってプルリクエストにリンクされている、またはプルリクエストによってクローズされる可能性がある Issue にリンクされている Issue のみを表示することができます。

| 修飾子                                                                                                                                                                                                                                                                                         | 例 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `linked:pr`                                                                                                                                                                                                                                                                                 |   |
| \[                                                                                                                                                                                                                                                                                          |   |
| **repo:desktop/desktop is:open linked:pr**]\(<https://github.com/search?q=repo%3Adesktop%2Fdesktop+is%3Aopen+linked%3Apr&ref_product=github&ref_type=engagement&ref_style=text>) は、クローズしているリファレンスによって pull request にリンクされている `desktop/desktop` リポジトリ内のオープンの issue と一致します。                   |   |
| `linked:issue`                                                                                                                                                                                                                                                                              |   |
| \[                                                                                                                                                                                                                                                                                          |   |
| **repo:desktop/desktop is:closed linked:issue**]\(<https://github.com/search?q=repo%3Adesktop%2Fdesktop+is%3Aclosed+linked%3Aissue&ref_product=github&ref_type=engagement&ref_style=text>) は、pull request でクローズされた可能性がある issue にリンクされた、`desktop/desktop` リポジトリ内のクローズした pull request と一致します。 |   |
| `-linked:pr`                                                                                                                                                                                                                                                                                |   |
| \[                                                                                                                                                                                                                                                                                          |   |
| **repo:desktop/desktop is:open -linked:pr**]\(<https://github.com/search?q=repo%3Adesktop%2Fdesktop+is%3Aopen+-linked%3Apr&ref_product=github&ref_type=engagement&ref_style=text>) は、クローズしているリファレンスによって pull request にリンクされていない、`desktop/desktop` リポジトリ内のオープンの issue と一致します。                |   |
| `-linked:issue`                                                                                                                                                                                                                                                                             |   |
| \[                                                                                                                                                                                                                                                                                          |   |
| **repo:desktop/desktop is:open -linked:issue**]\(<https://github.com/search?q=repo%3Adesktop%2Fdesktop+is%3Aopen+-linked%3Aissue&ref_product=github&ref_type=engagement&ref_style=text>) は、pull request でクローズする可能性がある issue にリンクされていない、`desktop/desktop` リポジトリ内のオープンの pull request と一致します。  |   |

## ラベルで検索

`label` 修飾子を使って、ラベルで検索結果を絞り込むことができます。 Issue は複数のラベルがある可能性があることから、各 Issue について異なる修飾子を記載できます。

| 修飾子                                                                                                                                                                                                                                                  | 例 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code>label:<em>LABEL</em></code>                                                                                                                                                                                                                    |   |
| \[                                                                                                                                                                                                                                                   |   |
| **label:"help wanted" language:ruby**]\(<https://github.com/search?utf8=%E2%9C%93&q=label%3A%22help+wanted%22+language%3Aruby&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、Ruby リポジトリにあるラベル "help wanted" を含む issue と一致します。 |   |
| `in:body`                                                                                                                                                                                                                                            |   |

<code>
-label:
<em>
LABEL
</em>
</code>
<code>
label:
<em>
LABEL
</em>
</code>
| 
[
**broken in:body -label:bug label:priority**](https://github.com/search?q=broken+in%3Abody+-label%3Abug+label%3Apriority&type=Issues&ref_product=github&ref_type=engagement&ref_style=text) は、本文に "broken" という単語を含み、"bug" というラベルはないが、"priority" というラベルは _ある_ issue と一致します。
| <code>
label:
<em>
LABEL
</em>
</code>
<code>
label:
<em>
LABEL
</em>
</code>
| 
[
**label:bug label:resolved**](https://github.com/search?l=&q=label%3Abug+label%3Aresolved&type=Issues&ref_product=github&ref_type=engagement&ref_style=text) は、ラベル "bug" と "resolved" を含む issue と一致します。
| <code>label:<em>LABEL,LABEL</em></code> | 
[
**label:bug,resolved**](https://github.com/search?q=label%3Abug%2Cresolved&type=Issues&ref_product=github&ref_type=engagement&ref_style=text) は、ラベル "bug" またはラベル "resolved" を含む issue と一致します。

## マイルストーンで検索

`milestone` 修飾子は、リポジトリ内の[マイルストーン](/ja/enterprise-server@3.22/issues/using-labels-and-milestones-to-track-work/about-milestones)の一部である issue または pull request を検索します。

| 修飾子                                                                                                                                                                                                               | 例 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code>milestone:<em>MILESTONE</em></code>                                                                                                                                                                         |   |
| \[                                                                                                                                                                                                                |   |
| **milestone:"overhaul"**]\(<https://github.com/search?utf8=%E2%9C%93&q=milestone%3A%22overhaul%22&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、"overhaul" という名前のマイルストーンにある issue と一致します。 |   |
| <code>milestone:<em>MILESTONE</em></code>                                                                                                                                                                         |   |
| \[                                                                                                                                                                                                                |   |
| **milestone:"bug fix"**]\(<https://github.com/search?utf8=%E2%9C%93&q=milestone%3A%22bug+fix%22&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、"bug fix" という名前のマイルストーンにある issue と一致します。    |   |

## プロジェクトで検索する

`project` 修飾子を使用して、特定のプロジェクトに関連付けられている issue を検索することができます。 プロジェクトはプロジェクト番号で検索する必要があります。 プロジェクトの URL の末尾に、プロジェクト番号が表示されています。

| 修飾子                                                                 | 例 |
| ------------------------------------------------------------------- | - |
| <code>project:<em>PROJECT\_NUMBER</em></code>                       |   |
| **project:github/57** は、組織のプロジェクト 57 に関連付けられているGitHubが所有する問題と一致します。 |   |

## コミットステータスで検索

コミットのステータスでプルリクエストをフィルタリングできます。 これは、[状態 API](/ja/enterprise-server@3.22/rest/commits#commit-statuses) または CI サービスを使っている場合に特に便利です。

| 修飾子                                                                                                                                                                                                                                                                     | 例 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `status:pending`                                                                                                                                                                                                                                                        |   |
| \[                                                                                                                                                                                                                                                                      |   |
| **language:go status:pending**]\(<https://github.com/search?utf8=%E2%9C%93&q=language%3Ago+status%3Apending&ref_product=github&ref_type=engagement&ref_style=text>) は、状態が保留中の Go リポジトリでオープンになっている pull request と一致します。                                                  |   |
| `status:success`                                                                                                                                                                                                                                                        |   |
| \[                                                                                                                                                                                                                                                                      |   |
| **is:open status:success finally in:body**]\(<https://github.com/search?utf8=%E2%9C%93&q=is%3Aopen+status%3Asuccess+finally+in%3Abody&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、正常な状態の、本文に "finally" という単語を含むオープンの pull request と一致します。     |   |
| `status:failure`                                                                                                                                                                                                                                                        |   |
| \[                                                                                                                                                                                                                                                                      |   |
| **created:2015-05-01..2015-05-30 status:failure**]\(<https://github.com/search?utf8=%E2%9C%93&q=created%3A2015-05-01..2015-05-30+status%3Afailure&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、失敗した状態の、2015 年 5 月にオープンされた pull request と一致します。 |   |

## コミット SHA で検索

コミットの特定の SHA ハッシュを知っている場合、その SHA を含むプルリクエストを検索するために使えます。 SHA の構文は、7 字以上であることが必要です。

| 修飾子                                                                                                                                                             | 例 |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code><em>SHA</em></code>                                                                                                                                       |   |
| \[                                                                                                                                                              |   |
| **e1109ab**]\(<https://github.com/search?q=e1109ab&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、`e1109ab` で始まるコミット SHA のプルリクエストと一致します。 |   |
| <code>                                                                                                                                                          |   |

<em>
SHA
</em>
</code>
`is:merged`
| 
[
**0eff326d6213c is:merged**](https://github.com/search?q=0eff326d+is%3Amerged&type=Issues&ref_product=github&ref_type=engagement&ref_style=text) は、`0eff326d6213c` で始まるコミット SHA と一致するマージされたプルリクエストです。

## ブランチ名で検索

元のブランチ (「head」ブランチ) またはマージされるブランチ (「base」ブランチ) でプルリクエストをフィルタリングできます。

| 修飾子                                                                                                                                                                                                                                              | 例 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | - |
| <code>head:<em>HEAD\_BRANCH</em></code>                                                                                                                                                                                                          |   |
| \[                                                                                                                                                                                                                                               |   |
| **head:change is:closed is:unmerged**]\(<https://github.com/search?utf8=%E2%9C%93&q=head%3Achange+is%3Aclosed+is%3Aunmerged&ref_product=github&ref_type=engagement&ref_style=text>) は、クローズしている単語 "change" で始まるブランチ名からオープンした pull request と一致します。 |   |
| <code>base:<em>BASE\_BRANCH</em></code>                                                                                                                                                                                                          |   |
| \[                                                                                                                                                                                                                                               |   |
| **base:gh-pages**]\(<https://github.com/search?utf8=%E2%9C%93&q=base%3Agh-pages&ref_product=github&ref_type=engagement&ref_style=text>) は、`gh-pages` ブランチにマージされている pull request と一致します。                                                          |   |

## 言語で検索

`language` 修飾子により、特定の言語で記述されたリポジトリ内の issue や pull request を検索できます。

| 修飾子                                                                                                                                                                                             | 例 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code>language:<em>LANGUAGE</em></code>                                                                                                                                                         |   |
| \[                                                                                                                                                                                              |   |
| **language:ruby state:open**]\(<https://github.com/search?q=language%3Aruby+state%3Aopen&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、Ruby リポジトリにあるオープンの issue と一致します。 |   |

## コメントの数で検索

`comments`と一緒に[「より大きい」、「より小さい」、および「範囲」の修飾子](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)を使うと、コメントの数で検索できます。

| 修飾子                                                                                                                                                                                                       | 例 |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code>comments:<em>n</em></code>                                                                                                                                                                          |   |
| \[                                                                                                                                                                                                        |   |
| **state:closed comments:>100**]\(<https://github.com/search?q=state%3Aclosed+comments%3A%3E100&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、100 を超えるコメントを含む、クローズした issue と一致します。 |   |
| <code>comments:<em>n..n</em></code>                                                                                                                                                                       |   |
| \[                                                                                                                                                                                                        |   |
| **comments:500..1000**]\(<https://github.com/search?q=comments%3A500..1000&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、コメントの数が 500 から 1,000 の issue と一致します。                     |   |

## インタラクションの数で検索

`interactions`修飾子と[「より大きい」「より小さい」「範囲」修飾子](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)を使用して、インタラクション数による issue と pull request のフィルタリングが可能です。 インタラクションの数とは、1 つの Issue またはプルリクエストにあるリアクションおよびコメントの数のことです。

| 修飾子                                                                                                                                                                                                   | 例 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code>interactions:<em>n</em></code>                                                                                                                                                                  |   |
| \[                                                                                                                                                                                                    |   |
| **interactions:>2000**]\(<https://github.com/search?q=interactions%3A%3E2000&ref_product=github&ref_type=engagement&ref_style=text>) は、インタラクションの数が 2000 を超える pull request や issue と一致します。             |   |
| <code>interactions:<em>n..n</em></code>                                                                                                                                                               |   |
| \[                                                                                                                                                                                                    |   |
| **interactions:500...1000**]\(<https://github.com/search?q=interactions%3A500..1000&ref_product=github&ref_type=engagement&ref_style=text>) は、インタラクションの数が 500 から 1,000 の pull request や issue と一致します。 |   |

## リアクションの数で検索

`reactions` クオリファイアと[「より大きい」,「より小さい」, および「範囲」クオリファイア](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)を使用して、リアクションの数に基づいて issue と pull request をフィルタリングできます。

| 修飾子                                                                                                                                                                            | 例 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | - |
| <code>reactions:<em>n</em></code>                                                                                                                                              |   |
| \[                                                                                                                                                                             |   |
| **リアクション>1000**]\(<https://github.com/search?q=reactions%3A%3E1000&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、リアクションの数が 1000 を超える issue と一致します。     |   |
| <code>reactions:<em>n..n</em></code>                                                                                                                                           |   |
| \[                                                                                                                                                                             |   |
| **reactions:500...1000**]\(<https://github.com/search?q=reactions%3A500..1000&ref_product=github&ref_type=engagement&ref_style=text>) は、リアクションの数が 500 から 1,000 の issue と一致します。 |   |

## ドラフトプルリクエストを検索

ドラフトのプルリクエストにフィルターをかけることができます。 詳しくは、「[Pull Request](/ja/enterprise-server@3.22/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests)」をご覧ください。

| 修飾子                                                                                                                                                       | 例 |
| --------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `draft:true`                                                                                                                                              |   |
| \[                                                                                                                                                        |   |
| **draft:true**]\(<https://github.com/search?q=draft%3Atrue&ref_product=github&ref_type=engagement&ref_style=text>) は、下書きの pull request と一致します。            |   |
| `draft:false`                                                                                                                                             |   |
| \[                                                                                                                                                        |   |
| **draft:false**]\(<https://github.com/search?q=draft%3Afalse&ref_product=github&ref_type=engagement&ref_style=text>) は、レビューの準備ができている pull request と一致します。 |   |

## プルリクエストレビューのステータスおよびレビュー担当者で検索

[レビューの状態](/ja/enterprise-server@3.22/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews) (*なし*、*必須*、承認、または要求\_された\_変更) に基づいて、レビュー担当者、および\_要求された\_レビュー担当者によってプル要求をフィルター処理できます。

| 修飾子                                                                                                                                                                                                                                                                                                                                                            | 例 |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `review:none`                                                                                                                                                                                                                                                                                                                                                  |   |
| \[                                                                                                                                                                                                                                                                                                                                                             |   |
| **type:pr review:none**]\(<https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review%3Anone&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、レビューされていない pull requst と一致します。                                                                                                                                                             |   |
| `review:required`                                                                                                                                                                                                                                                                                                                                              |   |
| \[                                                                                                                                                                                                                                                                                                                                                             |   |
| **type:pr review:required**]\(<https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review%3Arequired&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、マージする前にレビューを必要とする pull request と一致します。                                                                                                                                             |   |
| `review:approved`                                                                                                                                                                                                                                                                                                                                              |   |
| \[                                                                                                                                                                                                                                                                                                                                                             |   |
| **type:pr review:approved**]\(<https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review%3Aapproved&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、レビュー担当者が承認した pull request と一致します。                                                                                                                                                  |   |
| `review:changes_requested`                                                                                                                                                                                                                                                                                                                                     |   |
| \[                                                                                                                                                                                                                                                                                                                                                             |   |
| **type:pr review:changes\_requested**]\(<https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review%3Achanges_requested&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、レビュー担当者が変更をリクエストした pull request と一致します。                                                                                                                         |   |
| <code>reviewed-by:<em>USERNAME</em></code>                                                                                                                                                                                                                                                                                                                     |   |
| \[                                                                                                                                                                                                                                                                                                                                                             |   |
| **type:pr reviewed-by:gjtorikian**]\(<https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+reviewed-by%3Agjtorikian&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、特定のユーザーによってレビューされた pull request と一致します。                                                                                                                              |   |
| <code>review-requested:<em>USERNAME</em></code>                                                                                                                                                                                                                                                                                                                |   |
| \[                                                                                                                                                                                                                                                                                                                                                             |   |
| **type:pr review-requested:benbalter**]\(<https://github.com/search?utf8=%E2%9C%93&q=type%3Apr+review-requested%3Abenbalter&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、特定のユーザーにレビューがリクエストされている pull request と一致します。 リクエストを受けたレビュー担当者は、プルリクエストのレビュー後は検索結果に表示されなくなります。 要求されたユーザーがレビューを要求されている Team にいる場合、その Team のレビュー要求も検索結果に表示されます。 |   |
|                                                                                                                                                                                                                                                                                                                                                                |   |
| <code>user-review-requested:@me</code>                                                                                                                                                                                                                                                                                                                         |   |
| \[                                                                                                                                                                                                                                                                                                                                                             |   |
| **type:pr user-review-requested:@me**]\(<https://github.com/search?q=is%3Apr+user-review-requested%3A%40me+&ref_product=github&ref_type=engagement&ref_style=text>) は、そのユーザーが直接レビューを求められている pull request と一致します。                                                                                                                                               |   |
| <code>team-review-requested:<em>TEAMNAME</em></code>                                                                                                                                                                                                                                                                                                           |   |
| \[                                                                                                                                                                                                                                                                                                                                                             |   |
| **type:pr team-review-requested:github/docs**]\(<https://github.com/search?q=type%3Apr+team-review-requested%3Agithub%2Fdocs&type=pullrequests&ref_product=github&ref_type=engagement&ref_style=text>) は、Team `github/docs` からのレビュー要求がある pull request と一致します。 リクエストを受けたレビュー担当者は、プルリクエストのレビュー後は検索結果に表示されなくなります。                                                 |   |
| <code>team-review-requested-user:<em>USERNAME</em></code>                                                                                                                                                                                                                                                                                                      |   |
| \[                                                                                                                                                                                                                                                                                                                                                             |   |
| **type:pr team-review-requested-user:benbalter**]\(<https://github.com/search?q=type%3Apr+team-review-requested-user%3Abenbalter&type=pullrequests&ref_product=github&ref_type=engagement&ref_style=text>) は、特定のユーザーがメンバーである任意のチームからのレビュー要求を持つプル要求と一致します。 特にユーザーに送信されたレビュー要求は含まれません。 リクエストを受けたレビュー担当者は、プルリクエストのレビュー後は検索結果に表示されなくなります。                          |   |

## Issue やプルリクエストの作成時期や最終更新時期で検索

作成時期または最終更新時期で Issue をフィルタリングできます。 issue を作成する場合は、`created` 修飾子を使います。issue の最終更新時期を確認するには、`updated` 修飾子を使います。

両方とも、パラメータとして日付を受け取ります。
日付の書式設定は、[ISO8601](http://en.wikipedia.org/wiki/ISO_8601) 標準の `YYYY-MM-DD` (年-月-日) に従う必要があります。
日付の後にオプションの時刻情報 `THH:MM:SS+00:00` を追加して、時間、分、秒で検索することもできます。 これは、`T` の後に `HH:MM:SS` (時-分-秒)、UTC オフセット (`+00:00`) が続きます。

日付に対して検索を行う場合、結果をさらにフィルタリングするためにより大きい、より小さい、範囲の修飾子を利用できます。 詳しくは、「[検索構文を理解する](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)」をご覧ください。

| 修飾子                                                                                                                                                                                                                                                         | 例 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code>created:<em>YYYY-MM-DD</em></code>                                                                                                                                                                                                                    |   |
| \[                                                                                                                                                                                                                                                          |   |
| **language:c# created:<2011-01-01 state:open**]\(<https://github.com/search?q=language%3Ac%23+created%3A%3C2011-01-01+state%3Aopen&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、C# で記述されたリポジトリで 2011 年より前に作成されたオープンの issue と一致します。 |   |
| <code>updated:<em>YYYY-MM-DD</em></code>                                                                                                                                                                                                                    |   |
| \[                                                                                                                                                                                                                                                          |   |
| **weird in:body updated:>=2013-02-01**]\(<https://github.com/search?q=weird+in%3Abody+updated%3A%3E%3D2013-02-01&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、本文に "weird" という単語を含む、2013 年 2 月より後に更新されたイシューに該当します。                  |   |

## Issueやプルリクエストがクローズされた時期によって検索する

`closed` 修飾子を使って、issue や pull request を、クローズされた時期でフィルタリングできます。

この修飾子は、パラメータとして日付を使います。
日付の書式設定は、[ISO8601](http://en.wikipedia.org/wiki/ISO_8601) 標準の `YYYY-MM-DD` (年-月-日) に従う必要があります。
日付の後にオプションの時刻情報 `THH:MM:SS+00:00` を追加して、時間、分、秒で検索することもできます。 これは、`T` の後に `HH:MM:SS` (時-分-秒)、UTC オフセット (`+00:00`) が続きます。

日付に対して検索を行う場合、結果をさらにフィルタリングするためにより大きい、より小さい、範囲の修飾子を利用できます。 詳しくは、「[検索構文を理解する](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)」をご覧ください。

| 修飾子                                                                                                                                                                                                                                                                   | 例 |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code>closed:><em>YYYY-MM-DD</em></code>                                                                                                                                                                                                                              |   |
| \[                                                                                                                                                                                                                                                                    |   |
| **language:swift closed:>2014-06-11**]\(<https://github.com/search?q=language%3Aswift+closed%3A%3E2014-06-11&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、2014 年 6 月 11 日以降にクローズした Swift の issue や pull request と一致します。                      |   |
| <code>in:body closed:<<em>YYYY-MM-DD</em></code>                                                                                                                                                                                                                      |   |
| \[                                                                                                                                                                                                                                                                    |   |
| **data in:body closed:<2012-10-01**]\(<https://github.com/search?utf8=%E2%9C%93&q=data+in%3Abody+closed%3A%3C2012-10-01+&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、本文に "data" という単語を含む、2012 年 10 月より前にクローズした issue や pull request と一致します。 |   |

## プルリクエストがマージされた時期で検索

`merged` 修飾子を使って、マージされた時期で pull request をフィルタリングできます。

この修飾子は、パラメータとして日付を使います。
日付の書式設定は、[ISO8601](http://en.wikipedia.org/wiki/ISO_8601) 標準の `YYYY-MM-DD` (年-月-日) に従う必要があります。
日付の後にオプションの時刻情報 `THH:MM:SS+00:00` を追加して、時間、分、秒で検索することもできます。 これは、`T` の後に `HH:MM:SS` (時-分-秒)、UTC オフセット (`+00:00`) が続きます。

日付に対して検索を行う場合、結果をさらにフィルタリングするためにより大きい、より小さい、範囲の修飾子を利用できます。 詳しくは、「[検索構文を理解する](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)」をご覧ください。

| 修飾子       | 例 |
| --------- | - |
| <code>    |   |
| language: |   |

<em>
LANGUAGE
</em>
</code>
<code>
merged:<
<em>
YYYY-MM-DD
</em>
</code>
| 
[
**
`language:javascript merged:<2011-01-01`
**
](https://github.com/search?q=language%3Ajavascript+merged%3A%3C2011-01-01+&type=Issues&ref_product=github&ref_type=engagement&ref_style=text) は、2011 年より前にマージされた JavaScript リポジトリの pull request と一致します。
| `in:title`
<code>
language:
<em>
LANGUAGE
</em>
</code>
<code>
merged:>
<em>
YYYY-MM-DD
</em>
</code>
| 
[
**fast in:title language:ruby merged:>=2014-05-01**](https://github.com/search?q=fast+in%3Atitle+language%3Aruby+merged%3A%3E%3D2014-05-01+&type=Issues&ref_product=github&ref_type=engagement&ref_style=text) は、2014 年 5 月以降にマージされ、タイトルに "fast" という単語を含む Ruby の pull request と一致します。

## プルリクエストがマージ済みか未マージかを基に検索する

`is` 修飾子を使って、マージされているかどうかで pull request をフィルタリングできます。

| 修飾子                                                                                                                                                                                                                 | 例 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `is:merged`                                                                                                                                                                                                         |   |
| \[                                                                                                                                                                                                                  |   |
| **bug is:pr is:merged**]\(<https://github.com/search?utf8=%E2%9C%93&q=bugfix+is%3Apr+is%3Amerged&type=&ref_product=github&ref_type=engagement&ref_style=text>) は、"bug" という単語を含むマージされた pull request と一致します。          |   |
| `is:unmerged`                                                                                                                                                                                                       |   |
| \[                                                                                                                                                                                                                  |   |
| **error is:unmerged**]\(<https://github.com/search?utf8=%E2%9C%93&q=error+is%3Aunmerged&type=&ref_product=github&ref_type=engagement&ref_style=text>) というクエリは、"error" という単語を含み、オープンのままかマージされずにクローズされたプルリクエストと一致します。 |   |

## リポジトリがアーカイブされているかどうかで検索

`archived` 修飾子は、issue または pull request がアーカイブされたリポジトリにあるかどうかで結果をフィルタリングします。

| 修飾子                                                                                                                                                                                                                    | 例 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `archived:true`                                                                                                                                                                                                        |   |
| \[                                                                                                                                                                                                                     |   |
| **archived:true GNOME**]\(<https://github.com/search?q=archived%3Atrue+GNOME&type=&ref_product=github&ref_type=engagement&ref_style=text>) は、アクセスできるアーカイブされたリポジトリ内の "GNOME" という単語を含む issue や pull request と一致します。      |   |
| `archived:false`                                                                                                                                                                                                       |   |
| \[                                                                                                                                                                                                                     |   |
| **archived:false GNOME**]\(<https://github.com/search?q=archived%3Afalse+GNOME&type=&ref_product=github&ref_type=engagement&ref_style=text>) は、アクセスできるアーカイブされていないリポジトリ内の "GNOME" という単語を含む issue や pull request と一致します。 |   |

## 会話がロックされているかどうかで検索

`is` 修飾子を使って、ロックされている会話がある issue または pull request を検索することができます。 詳しくは、「[会話をロックする](/ja/enterprise-server@3.22/communities/moderating-comments-and-conversations/locking-conversations)」をご覧ください。

| 修飾子                                                                                                                                                                                                                                                                                          | 例 |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `is:locked`                                                                                                                                                                                                                                                                                  |   |
| \[                                                                                                                                                                                                                                                                                           |   |
| **code of conduct is:locked is:issue archived:false**]\(<https://github.com/search?q=code+of+conduct+is%3Alocked+is%3Aissue+archived%3Afalse&ref_product=github&ref_type=engagement&ref_style=text>) は、アーカイブされていないリポジトリ内にロックされた会話がある "code of conduct" という単語を含む issue や pull request と一致します。 |   |
| `is:unlocked`                                                                                                                                                                                                                                                                                |   |
| \[                                                                                                                                                                                                                                                                                           |   |
| **code of conduct is:unlocked is:issue archived:false**]\(<https://github.com/search?q=code+of+conduct+is%3Aunlocked+archived%3Afalse&ref_product=github&ref_type=engagement&ref_style=text>) は、アーカイブされていないリポジトリ内にロックされていない会話がある "code of conduct" という単語を含む issue や pull request と一致します。     |   |

## 欠損しているメタデータで検索

`no` 修飾子を使って、特定のメタデータがない issue や pull request に検索を絞り込むことができます。 これらの修飾子をマイナス記号 (ハイフン) と組み合わせて、メタデータが欠落している項目を除外することはできません。 こうしたメタデータには、以下のようなものがあります:

* ラベル
* マイルストーン
* 担当者
* プロジェクト

| 修飾子                                                                                                                                                                                                                                                                   | 例 |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `no:label`                                                                                                                                                                                                                                                            |   |
| \[                                                                                                                                                                                                                                                                    |   |
| **priority no:label**]\(<https://github.com/search?q=priority+no%3Alabel&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、ラベルを持たない "priority" という単語を含む issue や pull request と一致します。                                                              |   |
| `no:milestone`                                                                                                                                                                                                                                                        |   |
| \[                                                                                                                                                                                                                                                                    |   |
| **sprint no:milestone type:issue**]\(<https://github.com/search?q=sprint+no%3Amilestone+type%3Aissue&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、"sprint" という単語を含むマイルストーンに関連付けられていない issue と一致します。                                          |   |
| `no:assignee`                                                                                                                                                                                                                                                         |   |
| \[                                                                                                                                                                                                                                                                    |   |
| **important no:assignee language:java type:issue**]\(<https://github.com/search?q=important+no%3Aassignee+language%3Ajava+type%3Aissue&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、担当者に関連付けられていない問題と一致し、"重要" という単語を含み、Javaリポジトリ内のイシューを表します。 |   |
| `no:project`                                                                                                                                                                                                                                                          |   |
| \[                                                                                                                                                                                                                                                                    |   |
| **build no:project**]\(<https://github.com/search?utf8=%E2%9C%93&q=build+no%3Aproject&type=Issues&ref_product=github&ref_type=engagement&ref_style=text>) は、"build" という単語を含む、 プロジェクトに関連付けられていない問題と一致します。                                                              |   |

## 参考資料

* [検索結果をソートする](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/sorting-search-results)