/autotask:search-tickets [query] [company] [status] [priority] [queue] [assignee] [limit]from autotask
Searches Autotask PSA tickets using free-text and filters (company, status, priority, queue, assignee). Returns a formatted table of matching tickets with ID, title, company, priority, and status.
Ships in autotask. Installing the plugin adds it to Claude Code.
Search and filter tickets in Autotask PSA using various criteria.
Build search filter
Execute search query
GET /v1.0/Tickets/query?search={"filter":[...]}
Format and return results
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| query | string | No | - | Free text search |
| company | string/int | No | - | Company filter |
| status | string | No | open | open/closed/all |
| priority | string | No | - | critical/high/medium/low |
| queue | string | No | - | Queue name or ID |
| assignee | string | No | - | Resource name or ID |
| limit | int | No | 25 | Max results (1-500) |
/search-tickets "email not working"
/search-tickets --company "Acme Corp"
/search-tickets --priority high --status open
/search-tickets --assignee "me"
/search-tickets --company "Acme" --status open --queue "Escalations" --limit 10
/search-tickets "T20240215.0042"
🔍 Found 3 tickets matching criteria
┌─────────────────┬──────────────────────────────┬──────────┬──────────┬─────────────┐
│ Ticket # │ Title │ Company │ Priority │ Status │
├─────────────────┼──────────────────────────────┼──────────┼──────────┼─────────────┤
│ T20240215.0042 │ Email not working │ Acme │ High │ In Progress │
│ T20240215.0038 │ Outlook crashes on startup │ Acme │ Medium │ New │
│ T20240214.0156 │ Cannot send emails with att… │ Acme │ Low │ Waiting │
└─────────────────┴──────────────────────────────┴──────────┴──────────┴─────────────┘
Quick Actions:
• View ticket: /show-ticket <number>
• Update ticket: /update-ticket <number>
• Add note: /add-note <number>
/search-tickets --company "Acme" --detailed
🔍 Found 2 tickets for Acme Corporation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 T20240215.0042 - Email not working
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Company: Acme Corporation
Contact: John Smith ([email protected])
Priority: High (2)
Status: In Progress
Queue: Service Desk
Assignee: Jane Technician
Created: 2024-02-15 09:23:00
Updated: 2024-02-15 10:45:00
SLA Due: 2024-02-15 11:23:00 (38 min remaining)
Description:
Multiple users unable to send or receive email since 9am.
Affects sales team primarily.
Last Note (10:45):
"Identified issue with mail flow rules. Working on fix."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Text | Filter Behavior |
|---|---|
| open | status NOT IN (5, 11) - excludes Complete, Cancelled |
| closed | status IN (5, 11) - only Complete, Cancelled |
| all | No status filter |
| new | status = 1 |
| in-progress | status = 5 |
| waiting | status = 7 |
| escalated | status = 8 |
| Text | Priority ID |
|---|---|
| critical | 1 |
| high | 2 |
| medium | 3 |
| low | 4 |
🔍 No tickets found matching criteria
Suggestions:
• Broaden your search (remove filters)
• Check spelling of company/queue names
• Try --status all to include closed tickets
❌ Company not found: "Acm"
Did you mean?
• Acme Corporation (ID: 12345)
• Acme Industries (ID: 12346)
⏳ Rate limited by Autotask API
Retrying in 5 seconds...
/create-ticket - Create new ticket/show-ticket - View full ticket details/update-ticket - Modify ticketFiles this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin autotask15 commands in this plugin
/add-noteAdd Note to Autotask TicketAdd a note or comment to an existing Autotask ticket/check-contractCheck Autotask ContractView contract status, entitlements, and remaining hours for a company or specific contract/check-pricingCheck Autotask PricingCheck pricing details for an Autotask product or service (price-list overrides are UI-only)/create-quoteCreate Autotask QuoteCreate a new Autotask quote with line items for products, services, and service bundles/create-ticketCreate Autotask TicketCreate a new service ticket in Autotask PSA/expensesAutotask Expense ManagementUse this skill when working with Autotask expense reports - creating reports, adding expense items, searching by status or submitter, and tracking reimbursable and billable expensesOther plugins' commands for the same job