Polarion MCP DocsPortal

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

ParameterTypeRequiredDescription
project_idstringYesThe Polarion project ID
space_idstringYesThe space ID
document_namestringYesThe document name
section_headingstringYesThe 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" }
  ]
}

Related tools