createTicket
Creates a ticket in this beta project. A "chat" ticket opens a direct conversation with ONE tester, who is notified by email and in-app — it requires that tester's user id in userId (from getBetaTesters). Every other type creates an internal ticket visible to the beta project's managers until someone makes it public in Stomio, and it notifies them. Creating a ticket also fires any connected Slack, Webex, Zapier and Jira integrations (only a Jira failure is reported back, as jiraSyncFailed; the others are fire-and-forget). The beta project must be running — paused is not enough. In the response, code is the ticket's human-visible reference (like PROD-123); it is absent on chat tickets, which are never numbered. TWO-STEP TOOL: call it WITHOUT confirmationToken first — nothing changes and you receive a preview plus a confirmationToken. Show the preview to the user; only after the user explicitly approves, call again with the SAME arguments plus the confirmationToken. Tokens are single-use and expire after a few minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The ticket type. Use "chat" only to open a direct conversation with a tester, and pass that tester in userId. | |
| title | Yes | The ticket title (1 to 128 characters). | |
| userId | No | REQUIRED for type "chat" and forbidden otherwise: the user id of the tester to open the conversation with, from getBetaTesters. | |
| productId | Yes | ID of the beta project to query. Get valid IDs from the listProducts tool. | |
| description | No | The ticket body (up to 1024 characters of text; basic HTML is allowed). | |
| confirmationToken | No | Two-step confirmation token. Omit on the first call to receive a preview plus a token; then call again with the SAME arguments plus this token to execute. Single-use and short-lived. |