/autotask:ticketsfrom autotask
Manages Autotask service desk tickets: status/priority codes, SLA clock behavior, escalation rules, ticket metrics, and MCP tool surface for create/update/search/history/notes operations.
Ships in autotask. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Autotask tickets are the core unit of service delivery in the PSA. Every client request, incident, problem, and change flows through the ticketing system. This skill covers comprehensive ticket management including business logic, SLA calculations, escalation rules, and performance metrics.
autotask-picklists.autotask-ticket-notes-attachments.autotask-projects.kaseya-bms-api-patterns) and VSA (kaseya-vsa-api-patterns) each
have their own ticket objects that do not sync with Autotask.connectwise-psa-tickets, halopsa-tickets,
atera-tickets, syncro-tickets, superops-tickets, or
ninjaone-tickets.Based on the Autotask API, these are the standard ticket status values:
| Status ID | Name | Description | Business Logic |
|---|---|---|---|
| 1 | NEW | Newly created ticket | Default for new tickets, SLA clock starts |
| 2 | IN_PROGRESS | Actively being worked | Resource should be assigned |
| 5 | COMPLETE | Issue resolved | Requires resolution field, stops SLA |
| 6 | WAITING_CUSTOMER | Awaiting customer response | SLA clock may pause |
| 13 | WAITING_MATERIALS | Waiting for parts/equipment | SLA clock may pause |
| 14 | ESCALATED | Escalated to higher tier | Requires escalation reason |
NEW (1) ──────────────────────────────> COMPLETE (5)
│ ↑
↓ │
IN_PROGRESS (2) ──────────────────────────>─┤
│ │ │
│ ↓ │
│ WAITING_CUSTOMER (6) ──────────────>─┤
│ │ │
│ ↓ │
│ WAITING_MATERIALS (13) ────────────>─┘
│
↓
ESCALATED (14) ─────> IN_PROGRESS (2) ────> COMPLETE (5)
Validation Rules:
| Priority ID | Name | Response SLA | Resolution SLA | Business Context |
|---|---|---|---|---|
| 4 | CRITICAL | 1 hour | 4 hours | Complete business outage |
| 3 | HIGH | 2 hours | 8 hours | Major productivity impact |
| 2 | MEDIUM | 4 hours | 24 hours | Single user/workaround exists |
| 1 | LOW | 8 hours | 72 hours | Minor issue/enhancement |
Note: In Autotask, lower numbers = lower priority. Priority 4 is most urgent.
Core fields to know: title, companyID, status, priority, queueID (all required on create); contactID, issueType/subIssueType, assignedResourceID + assignedResourceRoleID (must be set together), dueDateTime, and resolution (required when completing).
See references/fields.md for the complete field reference (core, classification, assignment, SLA/timeline, contract/billing, and resolution fields).
const SLA_DEFAULTS = {
CRITICAL: { response: 1, resolution: 4 }, // hours
HIGH: { response: 2, resolution: 8 },
MEDIUM: { response: 4, resolution: 24 },
LOW: { response: 8, resolution: 72 }
};
Contract SLA terms override these defaults when present. See references/examples.md for the due-date calculation function.
| Status | SLA Clock |
|---|---|
| NEW | Running |
| IN_PROGRESS | Running |
| WAITING_CUSTOMER | Paused (configurable) |
| WAITING_MATERIALS | Paused (configurable) |
| ESCALATED | Running |
| COMPLETE | Stopped |
| Level | Trigger | Action |
|---|---|---|
| 1 | SLA 0-4 hours overdue | Notify assigned resource |
| 2 | SLA 4-8 hours overdue | Notify team lead |
| 3 | SLA 8+ hours overdue | Notify management |
Automatic escalation triggers: an SLA violation (overdue dueDateTime), a stale WAITING_CUSTOMER status (no activity for 7+ days), and CRITICAL-priority tickets with no assignedResourceID. See references/examples.md for the rule-check implementation.
Key metrics: average resolution time (completedDate − createDate for COMPLETE tickets), SLA compliance rate (completed-on-time or still-within-SLA, divided by tickets with a due date), and escalation count. See references/examples.md for the calculation function and a sample status/priority distribution report.
Tool: autotask_create_ticket
Args: {
"companyID": 12345,
"title": "Unable to access email - multiple users affected",
"description": "Sales team (5 users) reporting Outlook showing disconnected since 9am.",
"queueID": 8,
"priority": 3,
"status": 1,
"contactID": 67890
}
Required: companyID, title, status, priority, queueID
Tool: autotask_update_ticket
Args: {
"ticketId": 54321,
"status": 2,
"assignedResourceID": 29744150,
"assignedResourceRoleID": 29683459
}
Only fields provided will be changed. Common update scenarios:
| Scenario | Fields to Set |
|---|---|
| Assign technician | assignedResourceID + assignedResourceRoleID (both required together) |
| Change status | status (see status codes above) |
| Complete ticket | status: 5 (resolution via ticket note) |
| Escalate | status: 14 |
| Update priority | priority |
| Change due date | dueDateTime (ISO 8601 format) |
| Reassign contact | contactID |
searchTerm is a ticket-number prefix, not free-text title search. Title words such as "email" return 0 results; prefixes such as "T20260917" match ticket numbers that start with that string.
Tool: autotask_search_tickets
Args: {
"companyID": 12345,
"status": 1,
"assignedResourceID": 29744150,
"pageSize": 25
}
Filters: companyID, status (omit to get all non-Complete tickets), priority, queueID, assignedResourceID, contactID, unassigned, createdAfter, createdBefore, lastActivityAfter, searchTerm (ticket-number prefix only — not title or description text), pageSize (default 25, max 500)
Only the first pageSize results come back. The schema accepts page, but the server ignores it, so later pages return the same first results. If you get exactly pageSize results, assume there are more and narrow the filters (for example createdAfter) instead of paging.
To look up tickets by number, pass the prefix alone. Without status, Complete tickets (status 5) are excluded, so repeat with "status": 5 if the ticket may be closed:
Tool: autotask_search_tickets
Args: { "searchTerm": "T20260917" }
Tool: autotask_get_ticket_details
Args: { "ticketID": 54321 }
Use this to answer status transition and change attribution questions — e.g. "when did this ticket move from In Progress to Waiting Customer?", "who changed the priority?", "how long did it sit in NEW before someone picked it up?". Each row is one audited field change on the ticket.
Tool: autotask_search_ticket_history
Args: { "ticketId": 54321, "pageSize": 100 }
Required: ticketId (Autotask does not support unscoped history queries — there is no way to ask "show me every status transition across all tickets" without enumerating ticket IDs and looping). pageSize defaults to 50, max 500.
Returns an array of history entries. Field set is picklist-dependent; common fields include id, ticketID, resourceID (who made the change), dateChanged, and field-specific before/after columns. For status transitions, look for changes where the audited field is status and compare the before/after picklist IDs against the status codes table above.
Workflow for "find tickets that went from status X to status Y":
autotask_search_tickets with the relevant filters (company, date range, current status) to get candidate ticket IDs.autotask_search_ticket_history and look for a status-field change where old=X and new=Y.To fetch a single history entry by its ID:
Tool: autotask_get_ticket_history
Args: { "historyId": 987654 }
Tool: autotask_create_ticket_note
Args: {
"ticketId": 54321,
"title": "Status Update",
"description": "Identified root cause as KB5034441 update. Applying fix.",
"noteType": 1,
"publish": 0
}
noteType: 1=Internal, 2=External. publish: 0=No, 1=Yes (visible to client portal).
POST /v1.0/Tickets
Content-Type: application/json
{
"companyID": 12345,
"title": "Unable to access email - multiple users affected",
"description": "Sales team (5 users) reporting Outlook showing disconnected since 9am. Webmail working.",
"queueID": 8,
"priority": 3,
"status": 1,
"issueType": 5,
"subIssueType": 12,
"contactID": 67890,
"dueDateTime": "2024-02-15T17:00:00Z"
}
Open tickets for company with includes:
{
"filter": [
{"field": "companyID", "op": "eq", "value": 12345},
{"field": "status", "op": "noteq", "value": 5}
],
"includeFields": ["Company.companyName", "AssignedResource.firstName", "AssignedResource.lastName"]
}
Tickets created today (CORRECT — must use gte + lt range):
{
"filter": [
{"field": "createDate", "op": "gte", "value": "2026-04-13T00:00:00Z"},
{"field": "createDate", "op": "lt", "value": "2026-04-14T00:00:00Z"}
]
}
Warning: Using only today's date returns zero results. You MUST use a range:
gtetoday ANDlttomorrow. See the api-patterns skill for the full explanation and dynamic date computation.
See references/api.md for additional query patterns (SLA-breached tickets, date-range queries) and the full status-update / note-creation request bodies (complete-with-resolution, escalate-with-reason, internal vs external notes).
companyID, status omitted, pageSize: 500) and compare titles client-side. If 500 come back the list may be incomplete, so tell the user the duplicate check was inconclusive before creating. Narrowing (for example with createdAfter) only rules out duplicates inside that window, so say which window you checked. Do not pass title text as searchTerm; that filter is a ticket-number prefix only.Before transitioning a ticket, validate required fields per target status: COMPLETE requires resolution (and warns if skipping the IN_PROGRESS step), ESCALATED requires escalationReason, and IN_PROGRESS warns if no assignedResourceID is set. See references/examples.md for the validation function.
| Code | Message | Resolution |
|---|---|---|
| 400 | Invalid field value | Verify picklist IDs for your instance |
| 400 | Status transition not allowed | Check workflow rules |
| 401 | Unauthorized | Verify API credentials |
| 403 | Insufficient permissions | Check resource security level |
| 404 | Entity not found | Confirm ticket/company exists |
| 409 | Conflict/Locked | Ticket being edited by another user |
| 429 | Rate limited | Implement exponential backoff |
| Error | Cause | Fix |
|---|---|---|
| CompanyID required | Missing company | All tickets need a company |
| QueueID invalid | Queue not found | Query /v1.0/Queues for valid IDs |
| Resolution required | Completing without resolution | Add resolution text |
| Status transition invalid | Invalid workflow | Check allowed transitions |
What SKILL.md sets; muted values are Claude Code's defaults
When creating, updating, searching, or managing service desk operations. Use when: autotask ticket, service ticket, create ticket autotask, ticket queue, ticket status, ticket priority, autotask service desk, ticket triage, escalate ticket, resolve ticket, ticket notes, time entry ticket, sla calculation, ticket metrics, ticket kpi, ticket history, ticket audit trail, status transition, who changed, or when did ticket.
Three short reads, in order
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin autotask16 skills in this plugin
/api-patternsAutotask API PatternsAutotask REST API fundamentals: header-based authentication, zone detection, the query/filter DSL (14 operators, logical grouping, includes), pagination, rate limits, and CRUD conventions across the 215+ entity PSA.
/billingAutotask BillingAutotask billing item retrieval, approval-level workflows, and invoice search — covering billing item types, approval status filtering, and reconciliation of billable work against invoices for MSP finance teams./configuration-itemsAutotask Configuration ItemsAutotask Configuration Item (CI) asset management: CI types and categories, lifecycle status codes, the CI field schema, related-item relationships, DNS records, notes, and contract/billing associations for MSP infrastructure tracking.
/contractsAutotask ContractsAutotask contract and service agreement management - contract types (recurring services, block hours, time & materials, fixed price, retainer), service/service bundle associations, SLAs, and how contracts drive billing for MSP account managers.
/contract-servicesAutotask Contract Services and Recurring BillingThe recurring-billing side of Autotask contracts: service and bundle lines (autotask_search_contract_services, autotask_search_contract_service_bundles), the billed unit rows behind them (autotask_search_contract_service_units, autotask_search_contract_service_bundle_units), the per-contract monthly recurring-revenue roll-up (autotask_get_contract_recurring_lines), and writing service lines and onboarding contract shells.
/crmAutotask CRMAutotask CRM entities - companies (accounts), contacts, and sites/locations - including field references, company type classifications, and how these records underpin tickets, contracts, and projects for MSP account management.
Other plugins' skills for the same job