modify_reviews
Create, update, or delete Perforce reviews: vote, transition status, manage comments, participants, and changelists with WRITE permission.
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 | Comment ID (reply_comment, edit_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. add_comment accepts only 'open'|'comment'; edit_comment additionally accepts 'addressed'|'verified' | |
| 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_content | No | Content lines used to anchor an inline comment to the correct diff position (add_comment). Supply the code line the comment is on plus the four preceding lines, each terminated with a newline character ('\n'). Must be supplied together with comment_left_line and comment_right_line. | |
| 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 | |||