Search Work Items
search_work_itemsSearch Polarion work items using structured filters such as project, type, status, assignee, text, and dates; automatically escapes values into a Lucene query and returns concise summaries.
Instructions
Search Work Items using structured filters, escaping values into a Lucene query. Returns {query, results, links?, totalCount?, truncated?} with concise item summaries. Provide projectId to search one project; omit it for the global getAllWorkItems search, which requires global read access. Use this for common filters; use getWorkItems or getAllWorkItems directly for advanced Lucene syntax, custom response fields, or includes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Valid Work Item field ID; prefix with `-` for descending order. Unknown fields are rejected. | |
| text | No | Text to match in the Work Item text fields searched by Polarion. | |
| types | No | Limit results to these Work Item type IDs. | |
| filters | No | Additional exact field/value filters; unknown fields are rejected. | |
| assignee | No | Assignee user ID, not a display name or email address. | |
| statuses | No | Limit results to these workflow status IDs. | |
| max_items | No | Maximum results collected, from 1 to 1000; also used as page size if `page_size` is absent. | |
| page_size | No | Maximum items returned in the requested page, from 1 to 1000. | |
| projectId | No | Optional project ID; omit to search across projects, subject to global read permissions. | |
| createdAfter | No | Inclusive date/time lower bound for creation, in a format JavaScript Date.parse accepts. | |
| updatedAfter | No | Inclusive date/time lower bound for last update, in a format JavaScript Date.parse accepts. |