polarion_create_work_item
Create Polarion work items such as requirements, tasks, or defects by specifying a title, type, and project; optionally set status, assignees, custom fields, or preview the request with dry_run.
Instructions
Create a Work Item. Requires write access.
Args: title: Work Item title. work_item_type: Type id, e.g. 'requirement', 'task', 'defect'. Use polarion_list_work_item_types to discover valid ids. project_id: Target project. Defaults to POLARION_DEFAULT_PROJECT. description: Description text or HTML. status: Initial status id, e.g. 'open'. Must be allowed by the workflow. custom_fields: Map of custom field id to value. assignees: Optional user ids to assign after creation. dry_run: Build and return the JSON:API request without sending it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"work_item_type": "<work_item_type>"
},
"name": "polarion_create_work_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| status | No | ||
| dry_run | No | ||
| assignees | No | ||
| project_id | No | ||
| description | No | ||
| custom_fields | No | ||
| work_item_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||