Closed thedewi closed 5 years ago
Actually, there might be an issue with making this a required field. What if the build on a branch? In some cases the build would just want to deploy to Dev, for example, and rely on the channel version rules during the create to work out which channel is the right one.
Actually, there might be an issue with making this a required field. What if the build on a branch? In some cases the build would just want to deploy to Dev, for example, and rely on the channel version rules during the create to work out which channel is the right one.
Thanks, I hadn't thought of that. I'm inclined to abandon this then.
Our remaining options would seem to be: (1) Slightly over-populate the environment dropdown with all the project's environments, regardless of Channel selection, so that it still works in the case when no Channel was selected (2) Accept that the environment dropdown will be empty.
The Environment dropdown depends on the Channel dropdown. Azure DevOps won't populate the Environment dropdown until a Channel selection is made. If the user leaves Channel blank, the Environment dropdown just stays broken, which is not a great user experience.
I think on balance, it's better to make this mandatory and get two more clicks from the user, than leave them with a broken Environment dropdown.