update_document_comment
Update the resolution status of a document comment to resolved or reopened.
Instructions
Resolve or re-open a single document comment.
PATCHes {"resolved": <bool>} (only patchable attr). Root comments only:
a reply 400s ("Resolved field can be set only for root comments") →
RuntimeError, so filter first. Resolving the root resolves the thread.
Idempotent.
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``. | |
| comment_id | Yes | Short comment ID to update (e.g. 'c42' from ``list_document_comments``). | |
| resolved | Yes | New resolved state for the comment. | |
| dry_run | No | When True, return payload preview without calling Polarion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updated | Yes | ||
| dry_run | Yes | ||
| comment_id | Yes | ||
| resolved | Yes | ||
| payload_preview | Yes |