Start a Migration and Poll to Completion
A 2-step recipe with GitLab. We can help you get access.
Recipe · 2 steps
Start a Migration and Poll to Completion
with GitLab
Works with AI assistants
Begin a bulk import and poll its status until it reaches a terminal state.
- Start the bulk import of the source entity into the destination namespace.
- Read the import status; loop while created or started, otherwise finish.
What you'll need to have ready
- privateToken: GitLab Private-Token used to authenticate the destination API.
- sourceUrl: Source GitLab instance URL.
- sourceAccessToken: Access token to the source GitLab instance.
- sourceFullPath: Relative path of the source entity to import.
- destinationNamespace: Destination namespace for the entity.
- sourceType: Source entity type (group_entity or project_entity).
For your developer
Arazzo workflow gitlab:start-migration-and-poll, 2 operations: postApiV4BulkImports → getApiV4BulkImportsImportId. Specs on APIs.io.