polarion_get_document_section
Gets all work items under a specific section heading in a document. Matches by section heading text.
When to use
After viewing the document outline, use this tool to drill into a specific section and see its work items. Useful for reading requirement groups or focusing on a particular part of a large document.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | Yes | The Polarion project ID |
space_id | string | Yes | The space ID |
document_name | string | Yes | The document name |
section_heading | string | Yes | The section heading text to match (e.g. "Introduction") |
Example response
{
"status": "success",
"section": {
"id": "Polarion-work-item-id-for-heading",
"title": "Introduction",
"outline_number": "1"
},
"data": [
{ "id": "REQ-001", "outline_number": "1.1", "title": "Purpose", "type": "requirement", "status": "approved" },
{ "id": "REQ-002", "outline_number": "1.2", "title": "Scope", "type": "requirement", "status": "draft" }
]
}