manage_pull_requests
Manage Azure DevOps pull requests by listing, creating, updating, commenting, voting, and handling reviewers to streamline code review workflows.
Instructions
Manage Azure DevOps pull requests. Actions: 'list', 'get', 'list_comments', 'list_reviewers', 'create', 'update', 'add_comment', 'vote', 'update_reviewers', 'create_thread', 'update_thread', 'reply_to_comment'
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: 'list', 'get', 'create', 'update', 'add_comment', 'list_comments', 'vote', 'list_reviewers', 'update_reviewers', 'create_thread', 'update_thread', 'reply_to_comment' | |
| project_key | No | Project name | |
| repo_id | No | Repository name or ID (required for most actions) | |
| pr_id | No | Pull request ID (required for get, update, add_comment, list_comments, vote, list_reviewers) | |
| status | No | Filter by status: active, completed, abandoned, all (for list) | |
| top | No | Max results to return | |
| title | No | PR title (required for create) | |
| description | No | PR description (for create, update) | |
| source_branch | No | Source branch name (required for create) | |
| target_branch | No | Target branch name (required for create) | |
| is_draft | No | Create as draft PR (for create) | |
| comment | No | Comment content (for add_comment, create_thread, reply_to_comment) | |
| reviewer_id | No | Reviewer ID (for vote) | |
| vote | No | Vote: 10=approved, 5=approved with suggestions, 0=no vote, -5=waiting, -10=rejected | |
| reviewer_ids | No | Comma-separated reviewer IDs (for update_reviewers) | |
| thread_id | No | Thread ID (for update_thread, reply_to_comment) | |
| file_path | No | File path for inline comment (for create_thread) | |
| line | No | Line number for inline comment (for create_thread) |