2,045 questions
0
votes
1
answer
125
views
Azure DevOps Dashboard Widget fails with "ERR_BLOCKED_BY_LOCAL_NETWORK_ACCESS_CHECKS" in Edge 143+ (works in Firefox)
I'm developing a widget in Azure devops dashboard that uses the api of ADO to get information of our pipelines. The problem Started the 9 of december after the update of edge143+ on 4 of december. ...
0
votes
1
answer
76
views
Creating an Azure DevOps User Story with Powershell
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 ...
0
votes
1
answer
52
views
Azure DevOps API - delete iterations
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-...
1
vote
0
answers
30
views
Why Azure Devops Query By Wiql REST API returns entries that fail the WHERE clause?
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"...
0
votes
1
answer
65
views
Get Azure DevOps Microsoft-hosted agent usage for last month
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-...
0
votes
0
answers
34
views
Azure DevOps API call to retrieve current selected subscription for billing
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 ...
0
votes
0
answers
36
views
Get AzureDevops release pipeline agents via automation
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 ...
1
vote
0
answers
106
views
Mention team in DevOps
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 ...
0
votes
1
answer
44
views
Should REST API fields like access_token return consistent types across success and error responses?
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 ...
0
votes
1
answer
409
views
Get the Work Items associated with an Azure DevOps release
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 ...
0
votes
1
answer
125
views
Azure Unauthenticated user where no user is supposed to be recognized
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 ...
0
votes
2
answers
235
views
Azure Environment Approvals with Azure Devops RestAPI
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 ...
1
vote
1
answer
158
views
Create Pull Request on user's behalf from an Azure DevOps Pipeline
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 ...
0
votes
1
answer
394
views
Is there a way to automatically retry failed stages in an Azure DevOps YAML pipeline?
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 ...
0
votes
1
answer
83
views
Azure DevOps - load provided Graph avatars via OAuth 2.0
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 ...