Issues
Issues copied to clipboard
Prompted variable in library and project set can duplicate
Are you a customer of Octopus Deploy? Don't raise the issue here. Please contact our support team so we can triage your issue, making sure it's handled appropriately.
Prerequisites
- [X] I have verified the problem exists in the latest version
- [X] I have searched open and closed issues to make sure it isn't already reported
- [X] I have written a descriptive issue title
- [X] I have linked the original source of this report
- [X] I have tagged the issue appropriately (area/*, kind/bug, tag/regression?)
The bug
If a variable exists in a library variable set and a project variable set and is set to Prompt, it will appear twice on the deploy screen. The value set in the project variable will still take priority though.
What I expected to happen
Only the project variable should appear on the prompt screen.
Steps to reproduce
- Create a variable in a library variable set e.g. "PromptTest"
- Set the variable to Prompt
- Assign the variable set to a project
- Create a variable within the project with the same name e.g. "PromptTest"
- Create a release and deploy
- Check the prompt variables on deploy screen, "PromptTest" will appear twice
Screen capture

Affected versions
Octopus Server: 2020.5.0
Workarounds
This is mainly a UI issue, the behaviour of the variables remain the same i.e. the project variable will override the library variable
Links
https://help.octopus.com/t/variable-override/25917