azure-devops-rest-api Questions
6
I'm trying to create a YAML based pipeline that takes a parameter, then trigger the pipeline to run from a Azure DevOps REST API. I'm able to see the build gets queued, but the parameter was not ov...
Nonobjective asked 25/3, 2020 at 16:15
4
Solved
When a certain task fails in an environment I had to always redeploy the whole environment after fixing the issue. Is there a way I could re-initiate only the failed task or just the phase where th...
Bunting asked 22/10, 2019 at 18:48
4
Solved
In Azure DevOps, I created a Build. In that Build I created a ProjectBuildNumber Pipeline variable that is Settable at queue time. That variable is then used under Options -> Build number format to...
Featherbrain asked 8/10, 2019 at 12:11
4
Solved
I have a SPA implemented in Angularjs - Typescript calling VSO API and providing authentication data you can find below:
((): void => {
"use strict";
angular
.module("app")
.config(config)...
Afferent asked 3/11, 2015 at 11:52
2
Solved
In a nutshell, I am trying to update a Variable Group when executing a PowerShell script from a build Pipeline (increasing a build number, but this part is not so important).
As it suggested in th...
Bichromate asked 25/10, 2018 at 9:37
2
Solved
I have a pipeline on Azure Devops that I'm trying to run programatically/headless using the REST api: https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/run%20pipeline?view=azur...
Timbal asked 13/2, 2021 at 13:4
1
Solved
In Azure DevOps, I have a pipeline, where I need the logs of a specific task. How do I find out which log ID i need to fetch it?
eg. on UI this is the endpoint: https://dev.azure.com/myorg/myspace/...
Inculcate asked 14/5, 2021 at 12:22
3
Solved
I need to download artifacts from azure pipeline on my local machine. Can anyone help in doing this using powershell script?
Upbear asked 3/9, 2020 at 7:51
2
Solved
We use company Team Foundation Server 2013 for source code and task management. Is there a way how can I manipulate work items within backlog over REST API?
Our project is accessible via web url: ...
Anthologize asked 4/12, 2014 at 17:16
3
Solved
Is there a way to clone all the master branches from all the projects uploaded under 1 account.
I have a requirement to backup all the code in master branch every week.
Is there a way to accomplis...
Torray asked 29/8, 2019 at 4:21
3
Solved
I am attempting to use the Azure DevOps Services REST API to set the PR Completion Options to enforce a squash merge on a Pull Request.
Note: I can't set a branch policy to enforce a squash merge ...
Bornholm asked 25/2, 2019 at 11:44
3
Solved
How to retrieve the unit test results of a build in TFS using Rest API?
The build definition uses VNext (Visual Studio 2015 Update 3).
var vssConnection = new VssConnection(_configurationSpec.Tea...
Kuehn asked 7/9, 2016 at 15:8
2
Solved
The documentation says that the TargetRefName can be updated when "PR retargeting feature is enabled" but I can't find this option anywhere and can't see any documentation about how to en...
Bedelia asked 30/6, 2020 at 17:14
1
Solved
The Azure DevOps API article Evaluations - List describe how to receive a list of all the policy evaluation statuses for a specific pull request.
To call
GET https://dev.azure.com/{organization}/{p...
Inapplicable asked 9/2, 2021 at 7:24
1
Solved
I was trying to automate the task of pushing some files to various folder in a repo. I tried using Rest API provided by azure. When using Pushes Create API for the same, from the docs this is the c...
Cordie asked 2/2, 2021 at 16:48
2
Solved
I am using VSTS Pullrequest create API method to automate the PR creation, in the request i need to provide various IdentityRef id values for createdby/autocompleteby/reviewers properties. In my ca...
Billiards asked 30/12, 2018 at 0:42
1
Solved
Within a release pipeline a new Pull Requested is created using REST API.
How to link a specific (already existing) Work Item to the Pull Request using REST API?
In the current version (DevOps 2019...
Expertism asked 2/12, 2020 at 16:15
2
Solved
I want to trigger a specific Azure pipeline through REST API.
I have checked this documentation . So the core message will be:
curl -x POST $username:$personalaccesstoken https://dev.azure.com/{org...
Foreshank asked 20/11, 2020 at 13:18
2
Solved
I'm trying to get a list of all our projects in Azure DevOps with PowerShell using the Azure DevOps Rest Api.
However, when I run the script it keeps returning 100 projects. When I add the continua...
Profundity asked 17/9, 2019 at 8:10
3
Solved
I am trying to pull Azure-Devops entities data (teams, projects, repositories, members etc...) and process that data locally,
I cannot find any documentation regarding rate-limiting and pagination,...
Chickie asked 21/9, 2020 at 6:3
2
Is there a way to only get the builds that are waiting in queue for an available agent in a specific pool from the Azure DevOps rest API?
I currently have this endpoint that provides me with all ...
Chloroprene asked 15/1, 2019 at 21:11
3
Solved
Is it possible to set branch policies across all repo's? In other words, When creating a branch, a default branch policy is already set for master.
Protestation asked 26/9, 2018 at 7:11
1
Solved
I try to invoke rest API to azure via postman first, I invoke get pipelines API to get the pipeline id
and the result is: 2
the response :
{
"count": 1,
"value": [
{
"_...
Grit asked 3/9, 2020 at 9:16
3
I need to regularly download a complete set of latest code for a particular project from a VSTS account (server workspace), to a folder on a file server for readonly archiving.
Currently I log on ...
Mosra asked 12/6, 2018 at 10:8
2
Solved
I am trying to download a SQL file from azure devops server using the API, but an html page source code with signout link is copied to the file.
C# Code
var personalaccesstoken = "wwwwwwwwwww...
Disenable asked 14/8, 2020 at 5:51
© 2022 - 2025 — McMap. All rights reserved.