azure-devops

not able to delete test cases in azure devops through powershell scripts

夙愿已清 提交于 2021-01-28 13:36:45
问题 I have checked How to delete multiple test cases in Azure DevOps It not works for me. Using PowerShell scripts alone, I want to delete multiple test cases in one go in Azure DevOps. Currently, portal only allows to delete one at a time. I have tried like below way, and throws exceptions. $url = "https://dev.azure.com/testarulmouzhie/testDemo_Project/_apis/test/testcases/21?api-version=5.0-preview.1" Invoke-RestMethod -Uri $url -Method Delete -ContentType application/json it throws error like

How can I find all work items in a given board column via Azure DevOps API?

空扰寡人 提交于 2021-01-28 13:02:06
问题 I’m building an application that fetches information from our Azure DevOps board. One of the tasks is to get all tickets present in a given column. I’ve spent quite a lot of time reading through their docs but all the methods rely on you passing the IDS you want to get back, while what I’m looking for is for the API to tell me what work items do exist in a given column. 回答1: The easiest way to find the work items in a board column would be to use the Wiql - Query by Wiql API. The usage will

How can I find all work items in a given board column via Azure DevOps API?

a 夏天 提交于 2021-01-28 13:01:35
问题 I’m building an application that fetches information from our Azure DevOps board. One of the tasks is to get all tickets present in a given column. I’ve spent quite a lot of time reading through their docs but all the methods rely on you passing the IDS you want to get back, while what I’m looking for is for the API to tell me what work items do exist in a given column. 回答1: The easiest way to find the work items in a board column would be to use the Wiql - Query by Wiql API. The usage will

How can I find all work items in a given board column via Azure DevOps API?

倖福魔咒の 提交于 2021-01-28 13:01:32
问题 I’m building an application that fetches information from our Azure DevOps board. One of the tasks is to get all tickets present in a given column. I’ve spent quite a lot of time reading through their docs but all the methods rely on you passing the IDS you want to get back, while what I’m looking for is for the API to tell me what work items do exist in a given column. 回答1: The easiest way to find the work items in a board column would be to use the Wiql - Query by Wiql API. The usage will

How can I find all work items in a given board column via Azure DevOps API?

六月ゝ 毕业季﹏ 提交于 2021-01-28 13:01:08
问题 I’m building an application that fetches information from our Azure DevOps board. One of the tasks is to get all tickets present in a given column. I’ve spent quite a lot of time reading through their docs but all the methods rely on you passing the IDS you want to get back, while what I’m looking for is for the API to tell me what work items do exist in a given column. 回答1: The easiest way to find the work items in a board column would be to use the Wiql - Query by Wiql API. The usage will

When ADF publish branch is git protected how to publish?

佐手、 提交于 2021-01-28 11:29:00
问题 ADF git mode recommends publishing to Master branch(or a fix branch which usually is protected from check-ins). Since Master is usually protected from check-ins and only pull requests are allowed, how would the publish work? 回答1: Master branch is used to publish ADF to adf_publish branch. In short, this process converts several json files into ARM-template json files stored in adf_publish branch. Other working banches need to be merged into Master branch and then be published together in

How to open TCP port on localhost on VSTS build agent?

假如想象 提交于 2021-01-28 09:57:24
问题 When using the online hosted version of Visual Studio Team Services, my unit tests are unable to connect to a service listening on a TCP port on the localhost of the build agent. The service is able to start and open the TCP port but it seems unreachable for the unit test. Error message: 2017-06-20T12:05:00.8231306Z ##[error]------------ System.Net.Http.HttpRequestException : An error occurred while sending the request. 2017-06-20T12:05:00.8231306Z ##[error]---------------- System.Net

How to open TCP port on localhost on VSTS build agent?

末鹿安然 提交于 2021-01-28 09:53:45
问题 When using the online hosted version of Visual Studio Team Services, my unit tests are unable to connect to a service listening on a TCP port on the localhost of the build agent. The service is able to start and open the TCP port but it seems unreachable for the unit test. Error message: 2017-06-20T12:05:00.8231306Z ##[error]------------ System.Net.Http.HttpRequestException : An error occurred while sending the request. 2017-06-20T12:05:00.8231306Z ##[error]---------------- System.Net

Is it possible to create additional pipeline steps based on a variable?

只愿长相守 提交于 2021-01-28 09:15:33
问题 Is it possible in Azure Devops YAML pipelines to dynamically create additional steps based on some variable data (without creating our own plugin) The thing is I see that I want to iterate through several directories, but I don't want to just lump it all in a single step since it makes it harder to scan through to find an error. 回答1: It is possible to include steps conditionally with an if statement. I think the example of extending a template on the same page will give you a good indication

Is it possible to create additional pipeline steps based on a variable?

徘徊边缘 提交于 2021-01-28 09:10:30
问题 Is it possible in Azure Devops YAML pipelines to dynamically create additional steps based on some variable data (without creating our own plugin) The thing is I see that I want to iterate through several directories, but I don't want to just lump it all in a single step since it makes it harder to scan through to find an error. 回答1: It is possible to include steps conditionally with an if statement. I think the example of extending a template on the same page will give you a good indication