Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pixlcore/xyops/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Tickets in xyOps provide a lightweight, integrated way to track issues, releases, changes, incidents, and any operational work that benefits from an audit trail, comments, files, and automation. Tickets live alongside jobs, alerts, servers, and workflows, and can both react to the system (auto-created from jobs or alerts) and drive the system (run events/jobs directly from a ticket).Key Properties
Tickets are simple JSON records with core and optional fields:Core Fields
Core Fields
- subject: Short summary/title (HTML is stripped)
- body: Markdown content for runbooks, context, and checklists
- type: One of
issue,feature,release,change,maintenance,question,other - status: One of
draft,open,closed
Assignment & Notifications
Assignment & Notifications
- assignees: Array of usernames responsible for the ticket (receive update emails and overdue notices)
- cc: Array of usernames to receive update emails (no overdue notices)
- notify: Array of custom email addresses for updates (no overdue notices)
Organization
Organization
- category: Optional Category ID (auto-set from jobs)
- tags: Array of Tag IDs (auto-set from source job’s tags)
- server: Optional Server ID (auto-set when created from jobs/alerts)
Additional Features
Additional Features
- due: Optional due date (Unix seconds) - triggers daily overdue notices to assignees
- files: Uploaded files attached to the ticket (passed as inputs to jobs)
- events: Event stubs that can run jobs from the ticket
- changes: Change and comment history
Creating Tickets
Manual Creation
Click “New Ticket” in the sidebar and fill in the details:
- Subject, body (Markdown), type, status, category, server
- Assignees, cc, notify, tags, and due date
- Attach files (appear under Ticket Files and flow to jobs)
- Save as Draft to suppress notifications until ready
API Creation
Use the
create_ticket API endpoint to create tickets programmatically:For file uploads, use
multipart/form-data with a json field containing the ticket JSON string, plus file fields.Job Actions
Jobs can create tickets automatically on start or completion. Add a “Create Ticket” action to an event, workflow node, or category:
- Ticket body is auto-generated with job details, performance, log excerpt, and links
- Category, tags, and server fields are auto-populated from the job
- New ticket is added to the originating job for traceability
Ticket Status Workflow
Ticket Events & Automation
Ticket events attach runnable jobs to a ticket with optional parameter overrides.Add Events
Click “Add Event” and select an event. Configure parameter overrides, targets, selection algorithm, and tags as needed.
This makes tickets a powerful control plane for CI/CD: create a release ticket, attach deploy/test/rollback events, upload artifacts, then run jobs with the entire history centralized.
Ticket Files
- Attach files via UI or API when creating/updating tickets
- Files are stored server-side and listed on the ticket page
- Automatically provided to jobs launched from ticket events
- File expiration governed by
file_expirationconfiguration - Upload settings configured via
client.ticket_upload_settings:
Comments & Change History
Any user withedit_tickets privilege can add comments supporting Markdown formatting.
Change Tracking
Change Tracking
Edits to key fields are recorded as structured change entries:
- subject, status, type, category, server
- assignees, due, cc, notify, tags
Email Updates
Email Updates
Assignees, cc users, and notify emails receive batched updates (debounced):
- Summary of changes and new comments
- Full body text if changed
- Configuration via
tickets.email_debounce_sec
Overdue Notices
Overdue Notices
After due date passes, daily overdue emails are sent to assignees only:
- Scheduled via
tickets.overdue_schedule(default:"04:30") - Query filter:
tickets.overdue_query(default:"status:open due:<today")
Searching Tickets
Perform searches using the ticket search interface or API:Basic Search
Field-Specific Search
Use GitHub-style syntax with field IDs:Available Search Fields
Available Search Fields
| Field ID | Description |
|---|---|
subject | Search ticket subject line |
body | Search ticket body text (default) |
changes | Search ticket changes/comments |
status | Filter by status (open, closed, draft) |
username | Filter by ticket author |
assignees | Filter by assignees |
cc | Filter by cc list |
type | Filter by type (issue, feature, etc.) |
category | Filter by category |
tags | Filter by tags |
created | Filter by creation date (supports ranges) |
due | Filter by due date (e.g., due:<today) |
num | Filter by ticket number (supports ranges) |
Search Examples
Search Examples
| Name | Query |
|---|---|
| All tickets | * |
| All issues | type:issue |
| All overdue tickets | status:open due:<today |
| Created in date range | created:2021/02/01..2021/03/01 |
| Open for N days | status:open created:<2021/02/01 |
| Open and important | status:open tags:important |
| Ticket number range | num:>=5000 num:<6000 |
Search API
Use
compact=1 to scrub verbose parameters (body, changes) for grid displays.Configuration
Ticket settings inconfig.json:
Common Patterns
Release Management
Release Management
Create a Release ticket and attach deploy, test, and rollback events:
- Upload build artifacts to the ticket
- Run deploy from the ticket
- Artifacts automatically flow into the job
- Track entire release history in one place
Incident Response
Incident Response
Auto-create an Issue on alert fire with server context:
- Assign on-call engineer
- Set due date for follow-up
- Track remediation steps with comments
- Close when resolved
Change Control
Change Control
Use Change tickets for planned work:
- Attach validation jobs (pre-checks, post-checks)
- Require second assignee to review
- Document changes in ticket body
- Link to related jobs and alerts
Runbooks
Runbooks
Use ticket body (Markdown) for runbooks and checklists:
- Link to jobs via ticket events for repeatable actions
- Attach common scripts as files
- Track execution history in comments
API Reference
Key ticket API endpoints:get_ticket- Load single ticket by ID or numberget_tickets- Load multiple tickets (supports verbose mode)search_tickets- Search with pagination and sortingcreate_ticket- Create new ticket (JSON or multipart)update_ticket- Shallow-merge updates (server detects changes)add_ticket_change- Add/edit/delete comments or change entriesupdate_ticket_change- Update existing change entryupload_user_ticket_files- Upload and attach filesdelete_ticket_file- Remove attached filedelete_ticket- Permanently delete ticket
Required Privileges
- create_tickets: Create new tickets
- edit_tickets: Edit tickets, add comments, attach/remove files, run ticket events
- delete_tickets: Permanently delete tickets
Standard authentication applies for UI and API usage (sessions or API Keys).