/connectwise-psa:search-tickets [query] [company] [status] [priority] [board] [assignee] [date-from] [date-to] [limit]from connectwise-psa
Searches ConnectWise PSA tickets by query, company, status, priority, board, assignee, date range, and limit. Returns matching ticket list with ID, summary, company, priority, and status.
Ships in connectwise-psa. Installing the plugin adds it to Claude Code.
Search and filter tickets in ConnectWise PSA using various criteria.
Build search conditions
Construct API query
GET /service/tickets?conditions=<conditions>&page=1&pageSize=<limit>&orderBy=priority/id asc, dateEntered desc
Execute search
Format and return results
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| query | string | No | - | Free text search in summary |
| company | string/int | No | - | Company filter |
| status | string | No | open | open/closed/all or specific status |
| priority | string/int | No | - | critical/high/medium/low or 1-4 |
| board | string/int | No | - | Service board filter |
| assignee | string | No | - | Assigned member filter |
| date-from | date | No | - | Created on/after date |
| date-to | date | No | - | Created before date |
| limit | int | No | 25 | Max results (1-1000) |
/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 --board "Service Desk" --limit 10
/search-tickets "54321"
/search-tickets --date-from "2024-02-01" --date-to "2024-02-15" --status all
/search-tickets --priority 1 --status open
Found 3 tickets matching criteria
+----------+----------------------------------+------------------+----------+-------------+
| ID | Summary | Company | Priority | Status |
+----------+----------------------------------+------------------+----------+-------------+
| 54321 | Email not working | Acme Corporation | High | In Progress |
| 54318 | Outlook crashes on startup | Acme Corporation | Medium | New |
| 54305 | Cannot send attachments > 10MB | Acme Corporation | Low | Waiting |
+----------+----------------------------------+------------------+----------+-------------+
Quick Actions:
- View ticket: /show-ticket <id>
- Update ticket: /update-ticket <id>
- Add note: /add-note <id>
/search-tickets --company "Acme" --detailed
Found 2 tickets for Acme Corporation
================================================================================
#54321 - Email not working
================================================================================
Company: Acme Corporation
Contact: John Smith ([email protected])
Priority: High (2)
Status: In Progress
Board: 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 | Condition Generated |
|---|---|
| open | closedFlag=false |
| closed | closedFlag=true |
| all | No status filter |
| new | status/name="New" |
| in-progress | status/name="In Progress" |
| waiting | status/name contains "Waiting" |
| completed | status/name="Completed" |
| Text | Priority ID | Condition |
|---|---|---|
| critical | 1 | priority/id=1 |
| high | 2 | priority/id=2 |
| medium | 3 | priority/id=3 |
| low | 4 | priority/id=4 |
YYYY-MM-DD - Date only (2024-02-15)YYYY-MM-DDTHH:MM:SS - Date and time (2024-02-15T09:00:00)Open tickets for company:
conditions=company/id=12345 and closedFlag=false
High priority open tickets:
conditions=priority/id<=2 and closedFlag=false
Text search:
conditions=summary contains "email" and closedFlag=false
Date range:
conditions=dateEntered>=[2024-02-01] and dateEntered<[2024-02-15]
Assigned to specific member:
conditions=resources contains "jsmith" and closedFlag=false
No tickets found matching criteria
Suggestions:
- Broaden your search (remove filters)
- Check spelling of company/board names
- Try --status all to include closed tickets
- Verify date format is YYYY-MM-DD
Error: Company not found: "Acm"
Did you mean?
- Acme Corporation (ID: 12345)
- Acme Industries (ID: 12346)
Error: Service board not found: "Invalid"
Available boards:
- Service Desk (ID: 1)
- Managed Services (ID: 2)
- Projects (ID: 3)
Rate limited by ConnectWise API
Retrying in 5 seconds...
Found 1,247 tickets matching criteria (showing first 25)
Use --limit to increase results or add filters to narrow search.
GET /service/tickets?conditions=closedFlag=false&page=1&pageSize=25&orderBy=priority/id asc,dateEntered desc&fields=id,summary,company/name,status/name,priority/name,dateEntered,resources
Results are ordered by:
id - Ticket IDsummary - Ticket summarycompany/name - Company namestatus/name - Status namepriority/name - Priority namedateEntered - Creation dateresources - Assigned memberboard/name - Board namecontact/name - Contact name_info/lastUpdated - Last update time/create-ticket - Create new ticket/show-ticket - View full ticket details/update-ticket - Modify ticket/add-note - Add note to ticket/log-time - Log time against 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 connectwise-psa10 commands in this plugin
/add-noteAdd Note to ConnectWise PSA TicketAdd an internal or external note to a ConnectWise PSA ticket/check-agreementCheck ConnectWise PSA AgreementView agreement status and entitlements for a company in ConnectWise PSA/close-ticketClose ConnectWise PSA TicketClose a ConnectWise PSA ticket with resolution notes/create-ticketCreate ConnectWise PSA TicketCreate a new service ticket in ConnectWise PSA/get-ticketGet ConnectWise PSA TicketRetrieve detailed ticket information from ConnectWise PSA/log-timeLog Time to ConnectWise PSA TicketLog a time entry against a ConnectWise PSA ticketOther plugins' commands for the same job