updateTicketState
Opens or closes a ticket. 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. The testers on the ticket are notified of the change in-app, and the status is synced to a connected Jira issue. A closed ticket accepts no new replies. In the response, jiraSyncFailed appears only when a linked Jira issue could not be updated; its absence means synced or no Jira link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | The state to set: "open" or "closed". | |
| ticketId | Yes | ID of the ticket, from listTickets or getTicketDetails. Never invent ids. | |
| productId | Yes | ID of the beta project to query. Get valid IDs from the listProducts tool. | |
| 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. |