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
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
0 votes
1 answer
59 views

We consider switching from Microsoft-hosted agents to self-hosted agents on Azure VM Scale Sets. To estimate the costs I want to know two things for the last month. CPU-time used by the Microsoft-...
Matthias Schuchardt's user avatar
0 votes
0 answers
31 views

I am trying to read out the current selected subscription for billing in my Azure DevOps Organizations via API call but didn't find any APIs which provides the required information. Is such an API not ...
Joerg S's user avatar
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
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
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
0 votes
1 answer
358 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
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
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
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
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
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
1 vote
2 answers
440 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
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
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
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
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
1 vote
1 answer
267 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
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
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
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
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
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
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
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
-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
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
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
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
84 views

I have a zip file which is created by one of my java program , I need to upload this as an artifact to an Azure DevOps Pipeline, I get the BuildId as a parameter to my program when I check the API ...
jereesh thomas's user avatar
1 vote
1 answer
46 views

I am performing a migration using the API from Azure DevOps Cloud to Azure DevOps Server. When the Pull Request is created, it includes all the details except for the commit associated with the Pull ...
Lior Swisa's user avatar
0 votes
0 answers
56 views

We are migrating from TFS to Azure DevOps Server. We have transferred the TFVC repository. When creating changesets, I attempt to establish a link between changes and the work items, and this is done ...
Lior Swisa'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
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
0 answers
34 views

How can I filter work items using Azure DevOps REST API for a specific sprint (e.g., sprint 50) or week (e.g., week 51)? Currently, I use the iteration path. Is there a way to filter by iteration ...
Vijay Bhaskar Reddy's user avatar
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
76 views

A classical build pipeline in Azure Devops can be exported to YAML, following the documentation of the REST API I use GET https://dev.azure.com/{organization}/{project}/_apis/build/definitions/{...
SimonAx's user avatar
  • 1,388
-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
482 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
113 views

Trying to update "configuration" field in test result using Azure API but it is not updating (except of other fields). Steps: create test run. each result gets some default configuration. ...
Valerii Halakh's user avatar
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
1 vote
1 answer
159 views

I am trying to query the Azure DevOps Rest API to get the current and previous build for each environment for my app. I am able to get the current build for each environment by calling the /release/...
EnemySkill's user avatar
0 votes
1 answer
158 views

According to Points - Update from Microsoft's own documentation, in api ver 7.1, we can assign testers to test points by updating test point like: PATCH https://dev.azure.com/{organization}/{project}/...
fatcatpl's user avatar
-1 votes
1 answer
112 views

I am trying to create a python script that will crawl Azure DevOps project for a file, and download it locally. However, I'm running into an issue where making the request to download the file isn't ...
Devin York DJ's user avatar
1 vote
1 answer
136 views

I'm working on automating the customization of work item types in an inherited process using the Azure DevOps REST API. Specifically, I want to add an existing global custom field (e.g., Custom.Name) ...
Pontus's user avatar
  • 11
0 votes
1 answer
131 views

I want to call Azure DevOps REST API's Widgets - Update Widget endpoint from an Azure Devops Build Pipeline. I'm calling the endpoint from a powershell task and I am passing the System.AccessToken in ...
caganeraydin's user avatar
0 votes
1 answer
90 views

I created a service connection in Azure DevOps to connect to GitLab using the REST API. Here's the payload I used: Payload: payload = { "authorization":{"scheme":"...
Shashank's user avatar
0 votes
0 answers
39 views

I have the following requirements for a PowerShell script: Objective: Automate the creation of Bug work items in Azure DevOps for each failed test case identified in the pipeline. Current Setup: ...
kumar's user avatar
  • 1

1
2 3 4 5
41