Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Scoped Prompted Variables with Multiple Values (and scopes) Ignore Scope Specificity and Show Multiple Prompts

Open RobMcCarther opened this issue 4 months ago • 1 comments

Severity

No response

Version

2025.3.12060

Latest Version

I could reproduce the problem in the latest build

What happened?

When configuring a required prompted variable with multiple values in a Variable Set(or project variables) with both an unscoped value and a value scoped to a specific environment, Octopus prompts for the variable twice during deployment to that environment.

Reproduction

  • Create 1 Variable and select the “Prompt for value” option
    
  • Set the “Control Type’ value of “Drop Down”
    
  • Configure your Drop Down values
    
  • Select the “Required” option at the bottom
    
  • Select “Done” to create the new variable
    
  • In this new Variable, select the option to Duplicate Value
    
  • Edit the new Value to have different Drop Down Options
    
  • Save the new Variable Value
    
  • Scope this new Variable value only to Environment “A”
    
  • Create Release and Deploy to Environment "A"
    
Image Image

Error and Stacktrace


More Information

No response

Workaround

Having scoping for each prompted value. Or set a default value for the unscoped prompted variable value instead of using an unscoped value

RobMcCarther avatar Aug 27 '25 17:08 RobMcCarther