publish_draft_pull_request
Publishes a draft pull request, transitioning it from draft to open for review.
Instructions
Publish a draft pull request, making it ready for review.
The version parameter is required for optimistic locking. Get it from get_pull_request.
Args: project_key: The project key. repo_slug: The repository slug. pr_id: The pull request ID. version: Current version of the PR (required for optimistic locking).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | ||
| repo_slug | Yes | ||
| pr_id | Yes | ||
| version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |