Polarion MCP DocsPortal

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

ParameterTypeRequiredDescription
project_idstringYesThe Polarion project ID
space_idstringYesThe space ID
document_namestringYesThe document name
page_sizeintegerNoResults per page
page_numberintegerNoPage 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 }
}

Related tools