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
| Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | Yes | The Polarion project ID |
query | string | Yes | Lucene search query (e.g. "title:login AND type:defect") |
work_item_type | string | No | Filter by work item type (e.g. "defect", "requirement") |
status | string | No | Filter by status (e.g. "open", "closed") |
limit | integer | No | Max results per page (default 25, max 100 per server validation) |
page_number | integer | No | Page 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.