write_create_card
Create Targetprocess cards of any type with inherited project, exact assignees, role efforts, tags, and custom fields in one call.
Instructions
Create any card type (UserStory, Task, Bug, Feature, Epic, TestPlan, Request, ...) with parent, name, description, state, team, assignees, role efforts, tags and custom fields, applying the team rules: the project is inherited from the parent (task ← story, story ← feature, feature ← epic, bug ← its card, test case ← test plan) and the call fails before posting if none resolves; assignments Targetprocess adds by default are removed and reported, then exactly the requested people are assigned; effort is written per role; the parent's state and role efforts before/after are reported. Description: pass format markdown for Markdown; HTML is sent as-is, plain text lines become paragraphs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tags | No | ||
| type | Yes | Entity type, e.g. UserStory, Task, Bug | |
| state | No | ||
| teams | No | Teams to assign; TP_DEFAULT_TEAM_ID applies when omitted | |
| fields | No | Any other settable fields as Targetprocess JSON, validated against the catalog | |
| format | No | How the text is written: markdown (stored as a Targetprocess Markdown description), html (sent as-is), or text (plain lines). Default: HTML and text starting with <!--markdown--> are kept, anything else is treated as plain text, so Markdown needs format: markdown. | |
| parent | No | Parent card id (story for a task, feature for a story, test plan for a test case, ...) | |
| project | No | Project; defaults to the parent's project | |
| release | No | ||
| assignees | No | ||
| iteration | No | ||
| description | No | ||
| roleEfforts | No | Effort per role, e.g. [{"role":"Developer","effort":8}] | |
| customFields | No | ||
| teamIteration | No |