Create import schedule
Creates a new scheduled import configuration for the specified import source. Scheduled imports allow you to automate data imports on a recurring basis (daily, weekly, monthly) or run them once at a specific time.
post/importsource/{importSourceId}/importschedule
Request
- Base URLhttps://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/workspaceId/v1
- URLhttps://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/workspaceId/v1/importsource/{importSourceId}/importschedule
- Auth
- OAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: import:import-configuration:cmdb
- or HTTP bearer
Path parameters
importSourceIdstring required
The ID of the import source to schedule
Request body
Example request
{
"startTime": "2024-01-15T02:00:00Z",
"runInterval": "DAILY",
"callbackUrl": "https://example.com/webhook/import-complete"
}Response
Import schedule created successfully
Example response
{
"id": "a8f5f167-a7e1-4b3a-9e4f-2c3d4e5f6a7b",
"importSourceId": "b9f5f167-a7e1-4b3a-9e4f-2c3d4e5f6a7c",
"startTime": "2024-01-15T02:00:00Z",
"runInterval": "DAILY",
"created": "2024-01-10T10:30:00Z",
"updated": "2024-01-12T14:45:00Z",
"collectionId": "c7d8e9f0-1234-5678-9abc-def012345678"
}Changes
No recorded changes to this operation across all 2 revisions of this API.