Open yonatanNir opened 5 months ago
Hi @yonatanNir, thank you for your question. I am not sure if it is possible to populate one picklist based on another using task-lib methods.
If you want to take values from an Azure variable group and populate a picklist with them, I think you can use dataSourceBindings
to point your picklist to an endpoint, such as https://dev.azure.com/{org}/{project}/_apis/distributedtask/variablegroups
. Please, refer to the ADO documentation,
Hi @yonatanNir, thank you for your question. I am not sure if it is possible to populate one picklist based on another using task-lib methods.
If you want to take values from an Azure variable group and populate a picklist with them, I think you can use
dataSourceBindings
to point your picklist to an endpoint, such ashttps://dev.azure.com/{org}/{project}/_apis/distributedtask/variablegroups
. Please, refer to the ADO documentation,
In order to meet the requirement of what I need to do, I need to be able to do 2 things:
1) Have some kind of event listener that is invoked every time an option is chosen in the pick list. 2) Set some kind of options object to the picklist to replace the previous ones with the new ones.
Are both things not possible with task-lib methods? Or maybe at least one of them is possible?
Maybe only one of them is possible?
Task name
No response
Task version
No response
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu
Question