Todoist ticket provider for ObjTicket.
Routes ticket operations to Todoist via ObjServiceTodoist. Priority is mapped to Todoist priorities (1-4); status transitions are mapped to section moves within a Todoist project.
In config.yaml:
ticket:
provider: todoist
todoist_project: <PROJECT_ID>
todoist:
token: <API_TOKEN>
default_project: <PROJECT_ID>
| Axion Status | Todoist Section |
|---|---|
| NEW | New |
| TRIAGED | Triaged |
| IN_PROGRESS | In Progress |
| ON_HOLD | On Hold |
| ESCALATED | Escalated |
| RESOLVED | Resolved |
| CLOSED | Closed |
| CANCELLED | Cancelled |
Sections must be created in the Todoist project to match these names.
All methods from ObjTicketProvider are implemented:
create() — creates a Todoist task with mapped priority and labelsupdate() — updates task content, description, and/or prioritychange_status() — moves task to the matching sectionassign() — sets assignee_id on the taskadd_comment() — adds a comment with optional commenter prefixget_ticket() — retrieves task and maps back to Axion formatlist_tickets() — lists tasks in the configured projectclose() — completes the task via Todoist APIresolve() — moves to Resolved section, optionally adds notes commentescalate() — moves to Escalated section with commentObjServiceTodoist (REST API client)ObjTicketProvider (abstract base class)