Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
72 views

I'm looping through an Azure DevOps query script to essentially create copies of work items into a new iteration. The problem I'm having is with the final Invoke-RestMethod call at the end of the ...
GHarland's user avatar
10 votes
4 answers
2k views

Could not find a question about this, and just spent 1 day figuring this out, so as community service: Trying to create new Pipeline in a private Azure Devops project always results in the following ...
tonsteri's user avatar
  • 867
1 vote
2 answers
441 views

I'm using DevOps REST API via OAuth 2.0 to populate the fields of work item types. For identity fields, such as System.AssignedTo, I'm having a hard time trying to figure out the best API that allows ...
ilPittiz's user avatar
  • 812
0 votes
1 answer
46 views

I am attempting to delete a set of iterations from a tree of iterations in Azure DevOps utilizing the API as documented here:https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/classification-...
JeffPriz's user avatar
1 vote
0 answers
26 views

When I POST the following query to the Azure DevOps REST API <org-url>/<project>/_apis/wit/wiql?api-version=7.1, it returns an entry that clearly fails the WHERE clause. { "query"...
TrayMan's user avatar
  • 7,515
1 vote
0 answers
104 views

I want mention a team in Azure devops with API I see this link, and for users its ok How to add person in comment section in workitem programatically in c# But for team don't work, i try this : string ...
RSD's user avatar
  • 19
-1 votes
1 answer
760 views

I am developing a service hook for Azure Devops Pull Request created event. In this service hook i want to get the files modified in this Pull Request and get the DIFF content details about each file ...
Suresh Rajamani's user avatar
0 votes
1 answer
121 views

I'm using the Azure REST API to trigger a pipeline from 2 different function apps. In order to do that I'm using an HttpClient and sending a POST request with a Basic token (username:password) in the ...
CodeMonkey's user avatar
  • 12.6k
0 votes
1 answer
361 views

When working in Azure DevOps, specifically the release pipelines, you have this nice window on a stage showing the work items that are in this specific release apart from the mapped artifact work ...
chandu's user avatar
  • 35
0 votes
1 answer
335 views

I have a multi-stage YAML pipeline, and sometimes a stage fails due to transient issues (e.g., network timeouts, flaky tests, etc.). Instead of manually re-running the stage, I want to configure an ...
user30090146's user avatar
0 votes
2 answers
222 views

I'm trying to automate the creation of Azure DevOps environments using a pipeline and a PowerShell script. While I can create the environments successfully, I'm having trouble adding approval gates to ...
Riyo's user avatar
  • 1
1 vote
2 answers
162 views

I'm trying to use PowerShell 5.1 to get completed PRs for a date range in Azure DevOps. I'm getting a response, but not respecting the closed date parameter. I know I can filter the list afterwards, ...
Rod's user avatar
  • 15.6k
1 vote
1 answer
268 views

I have multiple organizations and hundreds of projects in it. When I turn on the GitHub Advanced Security (GHAS) at organization level, it is only ON for the future projects and repos. It will be ...
Vishal Thakur's user avatar
1 vote
2 answers
130 views

I need to trigger a yaml stage of the pipeline after completion of another pipeline completion. I have a setup like this: the main pipeline has stage1 -> stage2 -> stage3 -> stage4 After ...
karthik's user avatar
  • 59
1 vote
1 answer
144 views

I have the following code when creating a branch/commit in a pipeline. I'm using the $(Build.RequestedFor) and $(Build.RequestedForEmail) so that when I push the commit to the repo it shows as the ...
bryanbcook's user avatar
  • 19.7k
1 vote
2 answers
1k views

When working in Azure DevOps, specifically the release pipelines, you have this nice window on a stage showing the commits that are in this specific release. I would like to use this information ...
Jan_V's user avatar
  • 4,446
0 votes
1 answer
77 views

I'm using Projects - List REST API to retrieve the list of DevOps projects, with their avatar [GET] https://dev.azure.com/MY_ORGANIZATION/_apis/projects?getDefaultTeamImageUrl=true Each returned ...
ilPittiz's user avatar
  • 812
0 votes
2 answers
148 views

I am trying to download a zip file from an Azure DevOps Git repository using the Azure DevOps SDK for .NET (dont want to use the plain REST APIs). public async Task DownloadItemAsync(string ...
osim_ans's user avatar
  • 487
0 votes
1 answer
134 views

Project A: deploy.yml parameters: - name: testparam type: string default: "default" steps: - script: echo hi Project B: pipeline.yml jobs: - job: CallDeploymentPipeline ...
Rachel's user avatar
  • 1,406
0 votes
0 answers
36 views

Is there any way to fetch the agent list of all AzureDevops RELEASE pipeline agents? I can achieve till to fetch the definitionID but after that not able to proceed further as I am not getting correct ...
Trisha's user avatar
  • 1
0 votes
1 answer
304 views

I have this problem { "error_code": "BAD_REQUEST", "message": "Remote repo not found. Please ensure that:\n1. Your remote Git repo URL is valid.\n2. Your ...
NotUrBestie's user avatar
0 votes
1 answer
226 views

I am trying to retrieve data from a specific Analytics View in Azure DevOps using Python. I am able to list all available views, including custom shared/private views, but I cannot fetch the actual ...
Karel's user avatar
  • 45
0 votes
1 answer
41 views

I'm designing a REST API and want to follow best practices from guidelines like Microsoft REST API Guidelines, OpenAPI, or JSON:API. In my current API response structure, I'm returning the same field ...
Saroja Thirumurugan's user avatar
-1 votes
1 answer
1k views

I'm trying to get OAuth access for Azure DevOps to access my workitems. I think I have most of the beginings in place, i have a app registered in Entra Id and i have set up the API permissions like ...
klovaaxel's user avatar
0 votes
1 answer
912 views

In order to verify that the protection for our Azure devops environment are set properly we would like to build in a scheduled automated check. But it seems that the REST api that describes ...
Roelof's user avatar
  • 121
0 votes
1 answer
151 views

# Define variables $organization = "xxx" $project = "xxxx" $pat = "xxxxx" $outputCsv = "agents_applications.csv" # Generate a unique filename for the CSV file $...
GUNDRAJU KRUPA VANI's user avatar
0 votes
2 answers
418 views

I have created a new Azure App, but I didn't add any permissions related to Azure DevOps. Then, I added this app to the Project Collection Administrators group in the Azure DevOps organization. I ...
noonenine's user avatar
  • 129
0 votes
2 answers
89 views

In order to use Microsoft.TeamFoundation.TestManagement.WebApi.TestManagementHttpClientRetryHelper.AddTestResultsToTestRunAsync you need an Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint. ...
Martin's user avatar
  • 11.9k
0 votes
1 answer
733 views

I have a managed identity created in Microsoft Entra. I want to give this identity access to my AzureDevOps resources so that I can call the AzureDevOps API using it. I have followed this URL: link-...
jereesh thomas's user avatar
44 votes
8 answers
32k views

It's possible to generate a link to raw content of the file in GitHub, is it possible to do with VSTS/DevOps?
Gregory Suvalian's user avatar
1 vote
2 answers
1k views

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", "...
MikeW's user avatar
  • 1,630
1 vote
1 answer
219 views

I am creating a desktop application with Python to execute pipelines in Azure DevOps. I've managed to execute pipelines with fields such as Org Name, Project Name, Pipeline Id, PAT and with two ...
Sireen's user avatar
  • 47
0 votes
1 answer
90 views

is there a way to create Test Point in Azure Devops? I can find in documentation how to update existing test point - assign tester, etc... but my use case is to create a particular number of test ...
Kuba's user avatar
  • 71
4 votes
1 answer
797 views

In Azure DevOps Builds, checks for deprecated and vulnerable nuget packages work great using: dotnet list "HappySolution.sln" package --deprecated --source https://api.nuget.org/v3/index....
thisisntjared's user avatar
1 vote
1 answer
1k views

I'm working on a DevOps automation project and need to authenticate against a REST API using OAuth 2.0 client credentials flow. Specifically, I want to: Obtain a bearer token using client credentials ...
jenny's user avatar
  • 13
1 vote
1 answer
691 views

I'm having some challenges performing a Get on the ADO Identities service: https://learn.microsoft.com/en-us/rest/api/azure/devops/ims/identities/read-identities?view=azure-devops-rest-7.1&tabs=...
JDH's user avatar
  • 2,822
0 votes
1 answer
105 views

I am developing an extension for Azure Devops. The extensions aims to render content on the work item page depending on the work item's area path ID. I managed to retrieve the available area path IDs ...
ccclever2's user avatar
0 votes
1 answer
483 views

I want to run some pytest tests on the files changed in my branch, on which the build pipeline containing all the steps is running. I have this displayName: 'Get changed files in the ...
anjalib's user avatar
  • 41
0 votes
1 answer
64 views

I am building automation for people in our team to upload certain files, then after some conditions are fulfilled they can click on a create PR button to create a pull request. However we often get ...
anjalib's user avatar
  • 41
0 votes
1 answer
327 views

So I want to create pull requests using the POST request endpoint, but want to add a tag to the PR along with it. I know there is a separate endpoint to add a tag to a PR, but was wondering if these ...
anjalib's user avatar
  • 41
0 votes
1 answer
85 views

I want to find the work items that were reopened (were closed before and now are opened again) I have used this api to get all the revisions of work items : Reporting Work Item Revisions - Read ...
A-73-Sakshee B Agarwal's user avatar
0 votes
1 answer
685 views

I wrote a JavaScript SPA, reading and writing work item data through Azure DevOps REST APIs. I registered the app, and tried to use MSAL lib for the app. When I was trying to log in (calling ...
Bridgewater's user avatar
-1 votes
1 answer
102 views

I’m trying to upload an HTML file as an attachment to a work item in Azure DevOps using Azure DevOps REST API. I’m using Microsoft Entra ID (Azure AD) for authentication, and I’ve managed to get the ...
Oliver's user avatar
  • 23
0 votes
1 answer
168 views

I am trying to import a GitLab repository into Azure DevOps using the REST API. However, I am encountering a 400 Bad Request error during the process. Below is the core part of the code: python code: ...
Shashank's user avatar
0 votes
1 answer
83 views

I want to authenticate to Azure DevOps using Azure CLI. I can run the following command without issues for one organization, but not for others. I am not using a Personal Access Token (PAT), but ...
Alex's user avatar
  • 18.6k
0 votes
1 answer
157 views

I would like to merge the PR once the build pipeline is completed in Azure devops. Could you please guide me on how we can design and improve this process? i ma trying to get it via rest api but its ...
Tamilselvan's user avatar
0 votes
1 answer
682 views

I want to fetch the logs generated in the successful pipeline for the particular build ID using API call in plain text or text file without using any artifacts. How can I achieve it? What are the ways ...
Mmkv's user avatar
  • 1
0 votes
2 answers
402 views

I'm writing a powershell script to rotate my PAT in my devbox. Here's what I've done: PS> .\Rotate-Pat.ps1 Here's the code in Check-PatValidity.ps1: $env:PAT | az devops login --organization "...
yasouser's user avatar
  • 5,217
0 votes
1 answer
71 views

I try to create the first commit and the main branch, in c#, calling ADO api on my server but I am not sure this can be done as I get "MethodNotAllowed" return code PAT is full access and ...
pf12345678910's user avatar
0 votes
1 answer
1k views

I want to call the Azure DevOps REST API's Test Suites - Create endpoint from an Azure DevOps Release pipeline. I am doing this from a PowerShell task and I am using System.AccessToken. When I try to ...
distro's user avatar
  • 724

1
2 3 4 5
41