diff --git a/modules/portal/public/lib/batch-change/batch-change-new.controller.js b/modules/portal/public/lib/batch-change/batch-change-new.controller.js index 56e6c2494..9bae20510 100644 --- a/modules/portal/public/lib/batch-change/batch-change-new.controller.js +++ b/modules/portal/public/lib/batch-change/batch-change-new.controller.js @@ -56,6 +56,9 @@ $scope.processing = true; var payload = $scope.newBatch; + if (!$scope.newBatch.ownerGroupId) { + delete payload.ownerGroupId + } function success(response) { var alert = utilityService.success('Successfully Created Batch Change', response, 'createBatchChange: createBatchChange successful');