From connectwise-psa
Search and filter ConnectWise PSA tickets by query, company, status, priority, board, assignee, date range, and limit. Returns formatted list with details and quick actions.
npx claudepluginhub wyre-technology/msp-claude-plugins --plugin connectwise-psa# Search ConnectWise PSA Tickets Search and filter tickets in ConnectWise PSA using various criteria. ## Prerequisites - Valid ConnectWise PSA API credentials configured - User must have ticket read permissions ## Steps 1. **Build search conditions** - Parse all provided arguments - Resolve names to IDs (company, board, assignee) - Map status/priority text to appropriate conditions 2. **Construct API query** 3. **Execute search** - Handle pagination if needed - Include related fields (company, contact, status) 4. **Format and return results** - Display ticket l...
/search-ticketsSearch Autotask PSA tickets by query, company, status, priority, queue, or assignee; displays table of results with details and quick actions.
/search-ticketsSearches Syncro MSP tickets by query, customer, status, priority, assignee, date range, and limit. Returns formatted table with ticket details.
/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 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 (john.smith@acme.com)
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 ticket