Create ticket
create_ticketCreate a support ticket in a specified project, then use list_tickets to retrieve its ID. Upload attachments with upload_attachment before creating the ticket.
Instructions
Create a new ticket in a project, identified by projectId or projectHandle. Attachments have to be uploaded first with upload_attachment, then passed as attachmentFileIds. The API answers with a status envelope and not with the new ticket, so use list_tickets afterwards to get the id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"content": "<content>",
"ticketType": "<ticketType>",
"ticketPriority": "<ticketPriority>"
},
"name": "create_ticket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Reporter email, required for unauthenticated calls. | ||
| title | Yes | Ticket title. | |
| token | No | Access token of a private project. Only needed without an API key, or for projects behind a private link. | |
| content | Yes | Ticket description. | |
| projectId | No | Target project id, required unless projectHandle is given. | |
| ticketType | Yes | Ticket type. | |
| projectHandle | No | Target project handle, alternative to projectId. | |
| ticketPriority | Yes | Ticket priority. | |
| attachmentFileIds | No | File ids returned by upload_attachment. |