modify_reviews
Manage code reviews by creating, updating, transitioning, or deleting them. Also supports adding comments, voting, and modifying participants.
Instructions
Create/update/delete reviews (WRITE permission)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Comment body (required for add_comment, reply_comment) | |
| jobs | No | Associated job IDs for transition | |
| action | Yes | Review modification action. To delete/obliterate review, use 'obliterate' action which requires approval | |
| notify | No | Notification mode | |
| cleanup | No | Perform cleanup for approved:commit/committed transitions | |
| version | No | Review version (optional for vote) | |
| change_id | No | Changelist ID (required for create, append_change, replace_with_change) | |
| review_id | No | Review ID (required for most actions except create, archive_inactive) | |
| reviewers | No | List of reviewers | |
| comment_id | No | Parent comment ID (reply_comment, mark_comment_read/unread) | |
| fix_status | No | Job fix status when transitioning | |
| new_author | No | New author username (update_author) | |
| task_state | No | Task state | |
| transition | No | Transition target state | |
| vote_value | No | Vote value | |
| description | No | Review description (optional on create) | |
| max_reviews | No | Maximum number of inactive reviews to archive (0 = no limit) | |
| comment_version | No | Review version for comment attachment | |
| new_description | No | New review description (update_description) | |
| comment_file_path | No | File path for inline comment | |
| comment_left_line | No | Left diff line number for inline comment | |
| not_updated_since | No | ISO date (YYYY-MM-DD) threshold for archive_inactive | |
| comment_right_line | No | Right diff line number for inline comment | |
| required_reviewers | No | List of required reviewers | |
| reviewer_group_names | No | List of reviewer group names | |
| participant_user_names | No | List of participant usernames | |
| participant_group_names | No | List of participant group names | |
| reviewer_groups_required | No | List of required reviewer groups | |
| participant_users_required | No | List of required participant usernames | |
| participant_groups_required | No | List of required participant groups |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||