diff --git a/src/deadline/client/ui/job_bundle_submitter.py b/src/deadline/client/ui/job_bundle_submitter.py index 81423a81..5c4963e8 100644 --- a/src/deadline/client/ui/job_bundle_submitter.py +++ b/src/deadline/client/ui/job_bundle_submitter.py @@ -102,6 +102,12 @@ def on_create_job_bundle_callback( file_contents, file_type, settings.input_job_bundle_dir, "template" ) template["name"] = settings.name + if settings.description: + template["description"] = settings.description + else: + # remove description field since it can't be empty + # ignore if description is missing from template + template.pop("description", None) # If "HostRequirements" is provided, inject it into each of the "Step" if host_requirements: