create_draft_pull_request
Creates a pull request in draft mode, indicating it is not yet ready for review. Use a separate tool to publish when ready.
Instructions
Create a new pull request in draft mode.
Draft PRs are not yet ready for review. Use publish_draft_pull_request to publish when ready. Branch names should be bare (e.g., 'feature/x'), the 'refs/heads/' prefix is added automatically.
Args: project_key: The project key. repo_slug: The repository slug. title: Title of the pull request. source_branch: Source branch name (e.g., 'feature/my-feature'). target_branch: Target branch name (e.g., 'main'). description: Optional description/body for the pull request. reviewers: Optional list of reviewer usernames.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | ||
| repo_slug | Yes | ||
| title | Yes | ||
| source_branch | Yes | ||
| target_branch | Yes | ||
| description | No | ||
| reviewers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |