create_change_request_comment
Add comments to code change requests in Alibaba Cloud DevOps for review feedback, issue tracking, or inline code suggestions.
Instructions
[Code Management] Create a comment on a change request
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organizationId | Yes | Organization ID, can be found in the basic information page of the organization admin console | |
| repositoryId | Yes | Repository ID or a combination of organization ID and repository name, for example: 2835387 or organizationId%2Frepo-name (Note: slashes need to be URL encoded as %2F) | |
| localId | Yes | Local ID, represents the nth merge request in the repository | |
| comment_type | No | Comment type. Possible values: GLOBAL_COMMENT, INLINE_COMMENT | GLOBAL_COMMENT |
| content | Yes | Comment content, length must be between 1 and 65535 | |
| draft | No | Whether it is a draft comment | |
| resolved | No | Whether to mark as resolved | |
| patchset_biz_id | Yes | Associated version ID, if it's INLINE_COMMENT, choose one from from_patchset_biz_id or to_patchset_biz_id | |
| file_path | No | File name, only for inline comments | |
| line_number | No | Line number, only for inline comments | |
| from_patchset_biz_id | No | Start version ID for comparison, required for INLINE_COMMENT type | |
| to_patchset_biz_id | No | Target version ID for comparison, required for INLINE_COMMENT type | |
| parent_comment_biz_id | No | Parent comment ID |