polarion_get_workitems_in_module
Gets all work items in a document module in outline order. Returns work items with their outline numbers, preserving document structure.
When to use
To get a complete ordered list of all work items in a document. More comprehensive than polarion_get_document_section which focuses on one section. Useful for full document export or review.
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 |
page_size | integer | No | Results per page |
page_number | integer | No | Page number |
Example response
{
"status": "success",
"document": "System Requirements",
"space_id": "_default",
"data": [
{ "outline_number": "1.1", "id": "REQ-001", "title": "Purpose", "type": "requirement" },
{ "outline_number": "1.2", "id": "REQ-002", "title": "Scope", "type": "requirement" },
{ "outline_number": "2.1", "id": "REQ-003", "title": "Architecture Overview", "type": "requirement" }
],
"meta": { "total": 3, "page_size": 100, "page_number": 1 }
}