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.
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. |