create_issue
File a Linear ticket after overlap checks, with validated sections and parent or project placement so work lands in the right queue.
Instructions
Create a ticket. Before filing, ask whether the work is part of a ticket that already exists: widening that ticket, or filing under it with parent, keeps one change in one place. A new ticket needs a home, parent or project_id, and ends up in a project: a sub-ticket goes in its parent's, and a parent with no project is refused until it has one. A team with no open projects is exempt. Without a parent, the server finds the team's open tickets closest to this one and refuses until you've placed the work: under one of them (parent), into one of them (widen it and file nothing), or apart from all of them (new_because and distinct_from). The result lists what you filed on this team that no agent has taken up; filing a ticket is not doing the work, so see each into a queue. Its description is built from named sections (Observed, Cause, Fix, Done when), checked the same way set_state checks them. Include a Done when section if the ticket will be closed through set_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | Team key, e.g. ENG | |
| title | Yes | ||
| parent | No | The ticket this work is part of, identifier or UUID. A sub-ticket skips the check for close open tickets. | |
| sections | No | Description sections to change. Impact is the one plain-language line at the top saying who notices this work (mode replace). Observed lines must be "YYYY-MM-DD · <source: command, SHA or query> · <what it showed>". Done when lines must be checklist items ("- [ ] <check that proves it>"). Open questions changes only through comment kinds ask and answer. | |
| project_id | No | The project this ticket belongs to; list_projects gives the ids. | |
| new_because | No | Why this work is separate from every close open ticket the server named, in one sentence of at most 300 characters. Posted on the new ticket. | |
| distinct_from | No | Each close open ticket the server named, by identifier, that this one is separate from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||