create_ticket
Create a new ticket in Request Tracker by providing queue and subject, along with optional settings for content, priority, due date, custom fields, and attachments.
Instructions
Create a new ticket in RT
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Cc | No | Cc username(s) (string or array of strings) | |
| Due | No | Due datetime (format: "YYYY-MM-DD HH:MM:SS" in local time) | |
| Told | No | Last Contact datetime (format: "YYYY-MM-DD HH:MM:SS" in local time) | |
| Type | No | Ticket type (e.g. "ticket", "reminder") | |
| Child | No | Child links (ticket ID, URL, or array) | |
| Owner | No | Owner username | |
| Queue | Yes | Queue name or ID | |
| Parent | No | Parent links (ticket ID, URL, or array) | |
| Starts | No | Starts datetime (format: "YYYY-MM-DD HH:MM:SS" in local time) | |
| Status | No | Initial status | |
| AdminCc | No | AdminCc username(s) (string or array of strings) | |
| Content | No | Ticket body content | |
| Started | No | Started datetime (format: "YYYY-MM-DD HH:MM:SS" in local time) | |
| Subject | Yes | Ticket subject | |
| Priority | No | Ticket priority | |
| RefersTo | No | RefersTo links (ticket ID, URL, or array) | |
| DependsOn | No | DependsOn links (ticket ID, URL, or array) | |
| Requestor | No | Requestor username(s) (string or array of strings) | |
| Attachments | No | Files to attach. Provide either FilePath (local file path, server reads and encodes it) or FileContent (pre-encoded MIME Base64). FileName and FileType are optional with FilePath and are inferred from the path. | |
| ContentType | No | Content MIME type (default text/plain) | |
| CustomRoles | No | Custom role assignments as {role_name: username_or_array} | |
| Description | No | Ticket description | |
| CustomFields | No | Custom field values as {CF_name: value} | |
| DependedOnBy | No | DependedOnBy links (ticket ID, URL, or array) | |
| ReferredToBy | No | ReferredToBy links (ticket ID, URL, or array) |