Polarion MCP DocsPortal

polarion_search_workitems

Searches for work items in a Polarion project using Lucene query syntax. Supports filtering by type and status.

When to use

Use this tool to find work items matching specific criteria — defects, requirements, tasks, and more. This is the primary entry point for work item discovery within a project.

Parameters

ParameterTypeRequiredDescription
project_idstringYesThe Polarion project ID
querystringYesLucene search query (e.g. "title:login AND type:defect")
work_item_typestringNoFilter by work item type (e.g. "defect", "requirement")
statusstringNoFilter by status (e.g. "open", "closed")
limitintegerNoMax results per page (default 25, max 100 per server validation)
page_numberintegerNoPage number for pagination

Example response

{
  "status": "success",
  "query_used": "(braking) AND type:defect AND status:open",
  "data": [
    {
      "id": "MYP-1234",
      "title": "Login timeout issue",
      "type": "defect",
      "status": "open",
      "priority": "high",
      "description": "…",
      "author": "user:id",
      "assignee": ["user:id"],
      "created": "2025-01-01T12:00:00+00:00",
      "updated": "2025-01-02T08:00:00+00:00",
      "outline_number": "1.2"
    }
  ],
  "meta": {
    "total_count": 150,
    "links": { "self": "https://…", "next": "https://…", "prev": null, "first": "https://…", "last": "https://…" }
  }
}
Note: Polarion uses Lucene query syntax. Leading wildcards (*term) are not supported by the Polarion search engine. Use suffix wildcards (term*) instead.

Related tools