diff --git a/public/app/features/provisioning/components/BulkActions/BulkMoveProvisionedResource.tsx b/public/app/features/provisioning/components/BulkActions/BulkMoveProvisionedResource.tsx index 0c426d956ec..6e553ed760c 100644 --- a/public/app/features/provisioning/components/BulkActions/BulkMoveProvisionedResource.tsx +++ b/public/app/features/provisioning/components/BulkActions/BulkMoveProvisionedResource.tsx @@ -195,11 +195,12 @@ export function BulkMoveProvisionedResource({ folderUid, selectedItems, onDismis const workflowOptions = getWorkflowOptions(repository); const folderPath = folder?.metadata?.annotations?.[AnnoKeySourcePath] || ''; const timestamp = generateTimestamp(); + const defaultWorkflow = getDefaultWorkflow(repository); const initialValues = { comment: '', - ref: `bulk-move/${timestamp}`, - workflow: getDefaultWorkflow(repository), + ref: defaultWorkflow === 'branch' ? `bulk-move/${timestamp}` : (repository?.branch ?? ''), + workflow: defaultWorkflow, }; if (!repository || isReadOnlyRepo) {