Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring an option, impossible to let the Default Value empty, even with default values declared in JSON #2531

fgtl opened this issue May 26, 2017 · 4 comments


None yet
6 participants
Copy link

commented May 26, 2017

Issue type: Bug report

My Rundeck detail

  • Rundeck version: 2.8.2
  • install type: war or launcher?
  • OS Name/version: Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.73-2+deb7u3 x86_64 GNU/Linux
  • DB Type/version: unknown

Expected Behavior

In a scheduled Job, configuring an Option, declaring Allowed Values as a Remote URL, referencing a JSON containing default values. (using the selected=true property)
Since the JSON contains default values, I should be able to save my Option without a Default Value specified. (maybe showing a warning asking to double check that default values are indeed contained in the JSON)

Actual Behavior

Either :

  • if the task is not scheduled: works as expected
  • if the task is scheduled: impossible to empty Default Value (error message when saving : “Specify a Default Value for Required options when the Job is scheduled.”)


How to reproduce Behavior

See Expected Behavior, and do a dichotomy between scheduled/unscheduled and filled/empty Default Value.


This comment has been minimized.

Copy link

commented Feb 15, 2018

I got the same error message using 2.8.2 and 2.10 version.

@fgtl did you find a workaround for this issue?


This comment has been minimized.

Copy link

commented Feb 15, 2018

@fsampaio Unfortunately not, I'm sorry to say.


This comment has been minimized.

Copy link

commented Jul 2, 2018

I have the same problem. Can I use variables/regex/links in "default value"?


This comment has been minimized.

Copy link

commented Jul 9, 2018


carlosrfranco added a commit to carlosrfranco/rundeck that referenced this issue Apr 8, 2019

@carlosrfranco carlosrfranco self-assigned this Apr 8, 2019

gschueler added a commit that referenced this issue Apr 25, 2019

Merge pull request #4694 from carlosrfranco/issue/2531
Changes to allow option default value empty with default value declared in JSON (remote options) #2531

@gschueler gschueler added this to the 3.0.22 milestone Apr 25, 2019

@gschueler gschueler closed this Apr 25, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.