create_document_comments
Add one or more comments to a Polarion document in a single request. Supports replies, HTML, and dry-run preview.
Instructions
Create one or more comments on a Polarion document in a single request.
All post together (201 with new IDs). Reply by setting
parent_comment_id to a short ID from list_document_comments (None =
top-level). text_format 'text/html' sent as-is (no sanitization);
omit author_id to use the token's user. NOT idempotent — retry
duplicates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Polarion project ID. | |
| space_id | Yes | Space ID (use '_default' for the default space). | |
| document_name | Yes | Document name within ``space_id``. | |
| comments | Yes | One or more comments to create in a single request. | |
| dry_run | No | When True, return payload preview without calling Polarion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| dry_run | Yes | ||
| comment_ids | Yes | ||
| payload_preview | Yes |