Requirements
- You have read the API overview guide
- You have read the API integration guide
- You have read the Create tasks guide
- (optional) You have read the Map IDs guide
- You already have a ticket/task object (from Zendesk, Jira, internal back office, etc.)
Relevant API endpoints
POST /tasks
: create a taskPUT /tasks/:id
: create or update a task (idempotent)PATCH /tasks/:id
: update a taskPOST /tasks/batch
: bulk create tasksPUT /tasks/batch
: bulk create or update tasks (idempotent)PATCH /tasks/batch
: bulk update tasks
Approach
The goal is to create a 1:1 mapping between your existing ticket system and Fragment tasks and maintain that mapping. At the minimum, you will need to:- Create a task in Fragment when a ticket is created in your existing system
- Push relevant changes to Fragment when the ticket is updated
Fragment has experimental support for bi-directional sync, please reach out to us if you want to implement this (webhooks).
Overview
When you already have a ticket/task object in your existing system, you will need to create a corresponding task in Fragment. First, decide on an ID mapping strategy (see Map task IDs for more details). Second, you should push your existing object ID to Fragment as a custom field. For example,sync.py