update_pull_request
Update a pull request's title, description, reviewers, target branch, or draft status using optimistic locking with version parameter.
Instructions
Update a pull request's title, description, reviewers, target branch, or draft status.
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). title: New title (leave empty to keep current). description: New description (None to keep current, empty string to clear). reviewers: New list of reviewer usernames (None to keep current). target_branch: New target branch (leave empty to keep current). draft: Set draft status (None to keep current, True/False to change).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | ||
| repo_slug | Yes | ||
| pr_id | Yes | ||
| version | Yes | ||
| title | No | ||
| description | No | ||
| reviewers | No | ||
| target_branch | No | ||
| draft | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |