bug_create
Creates a bug as a draft when the user asks to log a defect; the token owner reviews and publishes it. Placement is one of: a feature (featureID or featureKey), a version (versionID) or the product backlog (productID); type is the criticality (the nature of the defect is the separate bugType field), and bugs always have a testing stage. Returns the key, link, status and allowed transitions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ord | No | Position of the new bug; tasks are ordered by `ord` descending. Omitted - end of the feature's plan, so bugs created one by one keep their order. | |
| gist | Yes | Gist: one or two sentences, "problem → solution", up to 300 characters of plain text (no Markdown, links or task keys), in the language of the workspace data. | |
| spec | Yes | Bug description in Markdown (no HTML) following the bug creation template, in the language of the workspace data. | |
| type | Yes | Criticality by actual impact: bug_trivial - cosmetic; bug_minor - inconvenience with a workaround; bug_major - a function works wrong or part of a scenario is unavailable, the workaround is costly; bug_critical - a scenario is impossible, data is lost or corrupted, a section crashes; bug_block - blocks the product or all testing. In doubt between two levels - bug_major. | |
| build | No | Build in which the defect was reproduced, from the deployed version; QA reproduces on it. | |
| title | Yes | Bug title, up to 200 characters, in the language of the workspace data; states the defect itself, not just the area (like "Settings"). | |
| featureID | No | Feature ID - the preferred placement | |
| moduleIDs | No | IDs of the modules (screens) where the defect is visible, even if its cause is in a service. | |
| productID | No | Product ID - the product backlog, last resort | |
| versionID | No | Version ID - when no feature fits | |
| featureKey | No | Feature key #F12 (or F12, 12); not with featureID | |
| componentIDs | No | IDs of the components where the defect is actually visible; empty if unsure. | |
| testAssignee | No | Tester: employee UUID or "any" (any employee); default "any" - bugs are always tested. | |
| workAssignee | No | Assignee: employee UUID, "any" (any employee) or null (no work stage); default "any". | |
| workTimePlan | No | Planned fix time in minutes, for the assignee's role level. | |
| rulesRevision | Yes | Revision of the bug creation template the spec follows. | |
| reviewAssignee | No | Reviewer: employee UUID, "any" (any employee) or null (no review stage); default: no review. | |
| approvalAssignee | No | Approver: employee UUID, "any" (any employee) or null (no approval stage); default: no approval. | |
| workIterationKey | No | Iteration key for work outside the current iteration; default - current |