Node version: v20.10.0
Npm version: 10.2.3
OS and version: Windows 11
azure-devops-node-api version: 13.0.0
Issue Description
When trying to provide search criteria to getAlerts() method to limit the alerts returned to Active alerts only the search criteria is ignored and alerts of all states are returned.
Expected behaviour
Only alerts that match the states specified in the search criteria should be returned.
Environment
Node version: v20.10.0 Npm version: 10.2.3 OS and version: Windows 11 azure-devops-node-api version: 13.0.0
Issue Description
When trying to provide search criteria to getAlerts() method to limit the alerts returned to Active alerts only the search criteria is ignored and alerts of all states are returned.
Expected behaviour
Only alerts that match the states specified in the search criteria should be returned.
Actual behaviour
Alerts of all state are returned.
Steps to reproduce
Logs
Column 4 of the output below is the alert state. Each value should be 1 (Active) if the search criteria was followed.