Bulk Create ITSM Tickets (Async)
Tickets
Bulk Create ITSM Tickets (Async)
Create multiple ITSM tickets asynchronously.
Creates an async job to process the bulk ticket creation and returns immediately with a job_id. Use GET /jobs/ to poll for job completion and results.
Request:
- tickets: List of 1-50 ticket creation requests
Response (202 Accepted):
- job_id: UUID to poll for job status and results
Job Status Polling:
- Use GET /jobs/ to check status
- Status flow: QUEUED → RUNNING → SUCCESS/FAILED
- On SUCCESS: all tickets were created; no per-ticket result data is returned
- On FAILED: job.failure_reason contains a JSON object with per-ticket breakdown:
- total/succeeded/failed counts
- results[]: per-ticket entries with success, error, request_index, identifier
This follows the vendor-first pattern:
- Job creates tickets in the vendor system (e.g., JIRA) using bulk API
- For each successful vendor creation, persists to local database
Performance: Returns immediately; processing happens asynchronously
POST
Bulk Create ITSM Tickets (Async)
Documentation Index
Fetch the complete documentation index at: https://docs.leen.dev/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
List of tickets to create (1-50 items)
Required array length:
1 - 50 elementsResponse
Successful Response
Response model for job creation endpoints that return a job ID.
Job ID for tracking async operation status