# 쿼리 매개 변수를 사용하여 끌어오기 요청 만들기

쿼리 매개 변수를 사용하여 미리 채워진 제목, 설명, 레이블 등을 사용하여 끌어오기 요청을 여는 사용자 지정 URL을 만듭니다.

비교 URL에 쿼리 매개 변수를 추가하여 미리 채워진 필드가 있는 끌어오기 요청을 열 수 있습니다. 끌어오기 요청 템플릿은 [리포지토리에 대한 끌어오기 요청 템플릿 만들기](/ko/enterprise-server@3.22/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository)을 참조하세요.

| 매개 변수        | Purpose                                                                             | Example                                                                                                            |
| ------------ | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| `quick_pull` | 비교된 분기에 대한 "끌어오기 요청 열기" 페이지를 엽니다.                                                   | `https://github.com/octo-org/octo-repo/compare/main...my-branch?quick_pull=1`                                      |
| `title`      | 끌어오기 요청 제목을 추가합니다. 공백에 사용합니다 `+` .                                                  | `https://github.com/octo-org/octo-repo/compare/main...my-branch?quick_pull=1&labels=bug&title=Bug+fix`             |
| `body`       | 끌어오기 요청 본문에 텍스트를 추가합니다. 공백에 사용합니다 `+` .                                             | `https://github.com/octo-org/octo-repo/compare/main...my-branch?quick_pull=1&title=Bug+fix&body=Describe+the+fix.` |
| `labels`     | 하나 이상의 레이블을 추가합니다. 여러 레이블을 쉼표로 구분합니다.                                               | `https://github.com/octo-org/octo-repo/compare/main...my-branch?quick_pull=1&labels=help+wanted,bug`               |
| `milestone`  | 중요 시점을 추가합니다. 공백에 사용합니다 `+` .                                                       | `https://github.com/octo-org/octo-repo/compare/main...my-branch?quick_pull=1&milestone=testing+milestones`         |
| `assignees`  | 하나 이상의 사용자에게 끌어오기 요청을 할당합니다. 여러 사용자를 쉼표로 구분합니다.                                     | `https://github.com/octo-org/octo-repo/compare/main...my-branch?quick_pull=1&assignees=octocat`                    |
| `projects`   | 끌어오기 요청을 프로젝트에 추가합니다.                                                               | `https://github.com/octo-org/octo-repo/compare/main...my-branch?quick_pull=1&title=Bug+fix&projects=octo-org/1`    |
| `template`   | 루트 `docs/`또는 `.github/` 디렉터리의 하위 디렉터리에서 `PULL_REQUEST_TEMPLATE` 끌어오기 요청 템플릿을 추가합니다. | `https://github.com/octo-org/octo-repo/compare/main...my-branch?quick_pull=1&template=issue_template.md`           |

해당 쿼리 매개 변수를 사용하려면 동일한 작업을 완료할 수 있는 권한이 있어야 합니다. 예를 들어 사용할 `labels`레이블을 추가할 수 있는 권한이 있어야 합니다.
[조직의 리포지토리 역할](/ko/enterprise-server@3.22/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization)을(를) 참조하세요.

쿼리 매개 변수가 잘못되었거나 권한이 부족하면 오류가 반환됩니다 `404 Not Found` . 서버 제한을 초과하는 URL은 오류를 반환합니다 `414 URI Too Long` .