From kaseya-autotask
Search Autotask PSA tickets by query, company, status, priority, queue, or assignee; displays table of results with details and quick actions.
npx claudepluginhub wyre-technology/msp-claude-plugins --plugin autotask# Search Autotask Tickets Search and filter tickets in Autotask PSA using various criteria. ## Prerequisites - Valid Autotask API credentials configured - User must have ticket read permissions ## Steps 1. **Build search filter** - Parse all provided arguments - Resolve names to IDs (company, queue, assignee) - Map status/priority text to IDs 2. **Execute search query** 3. **Format and return results** - Display ticket list with key details - Include quick actions for each ticket ## Parameters | Parameter | Type | Required | Default | Description | |-----------|-...
/search-ticketsSearches Syncro MSP tickets by query, customer, status, priority, assignee, date range, and limit. Returns formatted table with ticket details.
/search-ticketsSearch and filter ConnectWise PSA tickets by query, company, status, priority, board, assignee, date range, and limit. Returns formatted list with details and quick actions.
/search-ticketsSearches HaloPSA tickets by free-text query or filters for client, status, priority, type, agent, team, date range, and limit. Returns formatted list with key details and quick actions.
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 (john.smith@acme.com)
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 ticket