create_work_items
Bulk-create 1–50 work items in a single atomic request within a Polarion project, with Markdown descriptions and custom fields.
Instructions
Create 1-50 work items in one project in a single bulk request.
Items are created free-floating — place into a document with move_work_item_to_document (this tool cannot). Atomic: one bad item rejects the whole batch.
description is Markdown (greenfield only); later edits are raw-HTML round-trip via get_work_item(include_description_html=True) and update_work_items — formats never mix. Markdown tables get native Polarion styling; a paragraph starting 'Table:' directly after a table becomes a numbered caption widget. Enum values and custom_fields keys are validated on write — resolve ids via list_work_item_enum_options first. Returns the new work item ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Work items to create in one request (1-50). | |
| dry_run | No | Preview payload without writing; guards still query Polarion. | |
| project_id | Yes | Polarion project ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| dry_run | Yes | ||
| work_item_ids | No | ||
| payload_preview | No |