skip to Main Content

Troubleshooting Inconsistent Work Item Retrieval in Azure DevOps Release API

I have an Azure DevOps API for fetching the releases between the start date and the end date https://vsrm.dev.azure.com/${organization}/${project}/_apis/release/releases?minCreatedTime=${startDate}&maxCreatedTime=${endDate}&api-version=6.0, startDate : 2024-05-27, endDate : 2024-07-11 Basically, when I run this API it gives the releases which contain the release id…

VIEW QUESTION

Create pipleine in Azure devops by rest API failed – Value cannot be null. Parameter name: repositoryName

I am tring to create Azure devops (tfs) Pipeline by rets API as described here: https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/pipelines/create?view=azure-devops-rest-6.0 Request url: https://tfs.xxx/tfs/Projects/xxx/_apis/pipelines?api-version=6.0-preview Request body: { "folder": null, "name": "pipeline-made-by-api", "configuration": { "type": "yaml", "path": "build.yaml", "repository": { "id": "xxx", "name": "xxx-repo", "type": "azureReposGit"…

VIEW QUESTION

Query WorkItems Between Builds and convert it into a excel file from on-prem Azure DevOps Server through Azure DevOps REST API

I want list of the workItems that is changed after build in excel file. So far I am here : $AzureDevOpsPAT = "**********************************" $fromBuildId = "161" $toBuildId = "176" $AzureDevOpsAuthenicationHeader = @{Authorization = 'Basic ' + [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(":$($AzureDevOpsPAT)")) } $uriAccount ="https://AzureDevOpsServerName/DefaultCollection/ProjectName/_apis/build/workitems?fromBuildId=$($fromBuildId)&toBuildId=$($toBuildId)&api-version=5.0"…

VIEW QUESTION

Approving pipeline stage azure devops via API

I am trying to approve stages of a multi-stage yaml pipeline in azure devops but my REST requests to the endpoint detailed here return an error {"$id":"1","innerException":null,"message":"Value cannot be null.rnParameter name: updateParameters","typeName":"System.ArgumentNullException, mscorlib","typeKey":"ArgumentNullException","errorCode":0,"eventId":0} I followed the strategy of obtaining the…

VIEW QUESTION
Back To Top
Search