Questions tagged [azure-devops-extensions]
The azure-devops-extensions tag has no usage guidance.
463
questions
0
votes
0
answers
14
views
How do I create a new field for given WorkItem with AzureDevOps REST API?
I want to create a custom Extension for AzureDevops.
I'm using TypeScript SDK from Microsoft, unfortunately there is no method for creating a field, only for updating existing fields.
In Docs I found ...
1
vote
1
answer
34
views
AzureDevops task to create document in azure wiki
In azuredevops server pipeline task, i have a task to create .csv file from the kubernetes get command output and which working as expected. Looking for a way to publish this .csv table format to ...
0
votes
0
answers
28
views
"Async" function issue in Azure DevOps Custom Extension Development
I am new for Azure Custom DevOps extension. I have developed and extension and trying to use the same in Azure DevOps pipline. But facing issue as below.
"SyntaxError: Unexpected token function&...
0
votes
0
answers
11
views
How to pick directory Paths based on Build Agent Name in AzureDevops task
We have a requirement in Azuredevops task to pick the Tasks filesystem path (gradleHome), based on the agent.name as we have different kind of agents in the same pool.
I tried, below solution, but ...
0
votes
0
answers
66
views
VssUnauthorizedException: VS30063: You are not authorized to access... in web service application
Edit: It seems that the whole issue is not at my end but rather on the remote end. Maybe somewhere at Azure DevOps connection reset happened. It may be connected to the upgrade of Azure DevOps ...
0
votes
0
answers
16
views
Azure Dev Ops Overview Hub
Is it possible to add a hub to the overview group?
I thought this would do it but I cannot find where this ends up at:
Alternately, if it is not possible, is it possible to put in a new group all ...
0
votes
1
answer
26
views
Azure DevOps Extension - Set ReadOnly Field on Work Item
I have an Azure DevOps Extension that I need to update a ReadOnly Custom Work Item field.
The Custom Field is being set to ReadOnly via a Process Rule.
I realize I can do something like this and ...
0
votes
0
answers
21
views
Azure DevOps Work Item Extension - Save() Error
I have a simple Work Item Extension that updates a custom field on my Work Item.
When I run the below code the very first time onload, it Saves successfully and correctly updates. However, the second ...
0
votes
0
answers
44
views
Not able to populate the picklist (dropdown) with Resource Group Name for Custom Task Azure DevOps Extension
Below is the task.json file. That fetches the ResourceGroupName for the picklist dynamically when the user selects the Service Connection within ConnectedServiceName. But when I run the script, I get ...
0
votes
0
answers
65
views
Azure devops extension fails on runs
I am developing an extension of azuredevops. I can build it, publish it, install it in my test organization and I can see it working.
When I try to use it stays waiting forever and I can see this ...
0
votes
1
answer
58
views
Azure DevOps Custom Extensions - Work Item Form Extension - Add Security
I'm extending the Work Item form to include a new Page for some custom actions like this:
https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-workitem-extension?view=azure-devops
I'd ...
1
vote
1
answer
63
views
Cannot use PAT in pipeline
I'm trying to use a PAT to login to devops in a pipeline but I get this error:
WARNING: Failed to store PAT using keyring; falling back to file storage.
WARNING: You can clear the stored credential by ...
0
votes
0
answers
19
views
Unable to add an azure devops team as approvers for a Pipeline Environment
I am trying to add an azure devops team as approver for a pipeline environment using POST api request. It gives an NullException pointing that configuration cant be null. In the Request Payload only ...
0
votes
0
answers
31
views
HTML page not loading for ADO pull request extension
I've created a ADO extension which shows up in the PR action menu, which adds up in the below menu.
The below is my extension.json
{
"manifestVersion": 1,
"id": "my-...
1
vote
0
answers
101
views
Defender for DevOps suppressions
In our yaml pipeline we are using the Microsoft DevOps security extension, which is part of the Defender for cloud suite. The extension flags some json content as exposed credentials, but it's ...
0
votes
0
answers
28
views
Azure Devops Work Item Tracking API does not return dates according to server timezone (on-premise server)
In the following page MS states that Azure Devops server stores all dates as UTC:
(https://learn.microsoft.com/en-us/azure/devops/organizations/settings/timezone-settings-usage?view=azure-devops)
...
0
votes
0
answers
34
views
jfrog xray scan report integration with AzureDevops task
We are using Azuredevops Jfrog tasks to build our mvn/npm/gradle projectes and, using the below jfrog publish buildinfo and scan task to get the violation list. But as part of the same pipleine , we ...
0
votes
1
answer
127
views
Run Azure Pipelines task from specific extension
I'm working on an Azure DevOps extension with a pipeline task. Currently I've published a public "official" version (ID: pr-commentator) of the extension and a private version (ID: pr-...
0
votes
0
answers
150
views
Azure VM. The extension failed to execute: .agent file not found
We have Azure Virtual machine scale set working as pipeline agent pool. This error may appear on any new pipeline run. And after it happens once it happens on all subsequent runs.
There are log files ...
0
votes
0
answers
34
views
DevOps extension doesn't prompt org owners for new scope approval
I've added a call to the DevOps Identities API, which requires the vso.identity scope. When I updated my Dev extension, I received email from ADO requestion my approval for the new scope. But when I ...
0
votes
0
answers
74
views
How to get ADO organization tenant ID using azure-devops-extension-api
My DevOps extension is a tab in the build pipeline results page. I need to get the AAD tenant ID (if any) for the parent organization. I saw this post but it uses a web service that can't be called ...
0
votes
0
answers
20
views
Multitenant PR Status Server - Authentication & Authorization
I am trying to build an azure devops pull request status server as described here and here. The pr status server works together with an azure devops extension.
Ideally, the pr status server multi-...
0
votes
1
answer
250
views
Azure pipelines shows skipped stages
I have below azure pipeline yaml file. I have tried the below setup which runs the test stage , but its also shows me the build & deploy stages, which I don't want.
variables:
vmImageName: "...
1
vote
1
answer
49
views
Azure Devops Extensions - Receive Service Hooks?
Is it possible for an azure devops extension to receive web hooks and take actions while the user is not currently using azure devops e.g. when a pr is updated because the build finished, can an ...
0
votes
0
answers
25
views
Extensibility Points for Azure DevOps Extensions- Process Settings Tab
Is there an extensibility point for a custom tab in the process settings?
The idea is to get from "organization settings" to the "process settings" under board and then I want to ...
0
votes
0
answers
31
views
TFVCGet@2 is failing consistently but on different files
I have an ADO build pipeline where we need to download files from a TFVC source. We are using the task TFVCGet@2. This has been working for months now without any issues but since yesterday it has ...
0
votes
0
answers
285
views
What is causing Azure DevOps Agent to cache data from the old version of Azure DevOps extension?
I have an ADO extension that uses a Java-based API wrapper (Jar file) to call an external API using CLI. This process involves using npm packages and toolrunner (microsoft/azure-pipelines-task-lib). ...
0
votes
0
answers
28
views
Azure DevOps Extension `onBuildChanged` event firing only once
I'm writing an Azure-DevOps extension which is a build-results enhancement tab. I want to present some "waiting for results" message until the results are available. I came up with this code,...
1
vote
1
answer
246
views
Child process of an Azure DevOps task is killed when the job stops
I have a custom PowerShell Azure DevOps task that creates a child process (for another PowerShell script). I want the child process to run for a while - it's a background polling job. However, the ...
0
votes
2
answers
212
views
https_proxy variable is causing conflicts with Azure DevOps API
We are developing Azure DevOps extension with pipeline tasks. We are using typescript/node/npm packages as technologies in this. One of these pipeline task’s responsibilities is gathering data from ...
0
votes
0
answers
92
views
View Azure DevOps Delivery Plan in Confluence
I would like to be able to display a delivery plan with filters applied from Confluence. It is important to be able to see the beginning and end boundaries of the delivery plan on the full page in ...
0
votes
0
answers
69
views
Azure DevOps Extension - How to resolve HostAuthorizationNotFound error
I get the following error with getWorkItem call. I have the scope currently as VSO.Work_Full. It is already published.
The codes look like this:
/// <reference types="vss-web-extension-...
0
votes
1
answer
372
views
How do I change the main icons for the Azure DevOps wiki document
I was wondering how I would go about changing those icons that sit on the left-hand side of the wiki document in the wiki document list inside of ADO. If possible I would like to have an icon for &...
-1
votes
1
answer
880
views
Automatically bump up version in Azure DevOps git repo as a part of build pipeline
I am very new to Azure DevOps and need help with Azure DevOps pipelines. I am setting up a repository with terraform files.
I want to enforce semantic versioning in the repo.
I want to automatically ...
0
votes
0
answers
30
views
Azuredevops Repo Api to get updated yaml parameters from external apps
We have a java based ticket management application and where users can submit the input values "projectname", "accesskind", "permissiontype". We have a azuredevops ...
1
vote
0
answers
20
views
Unable to use ADO extension storage with VSS SDK with react js in jsx
-Using ADO extension storage to persist data for our custom requirement
In Our environment with React js in jsx file tried to integrate with below approaches unable to debug
1.Collection approach for ...
0
votes
0
answers
19
views
Writing the following AzDevOps query in OData
I'm trying to write the following query
enter image description here
in Power BI OData Advanced Editor
I've tried to write in multiplke ways (here is an example)
enter image description here
But ...
1
vote
0
answers
186
views
Error in deleting test cases using Azure DevOps extension API
I have created an extension to delete the Test runs and Test cases in bulk. I'm able to delete the Test runs from separate hub page. For deleting test cases, We have created an (ms.vss-web.action) web ...
0
votes
0
answers
43
views
How can an Azure DevOps Extension Access Data from an External Website
I'm just starting to investigate how to develop an Azure DevOps extension that displays data sourced from an external website. Possible? I tried this in my extension's HTML file using javascript in ...
3
votes
0
answers
139
views
Import npm package with AMD API structure inside Vite esnext project
I'm developing an Azure DevOps extension and for that I must use packages azure-devops-extension-sdk and azure-devops-extension-api. I'm using svelte with typescript and when I'm trying to import the ...
4
votes
1
answer
536
views
Showing custom badge or text on Azure DevOps Pipeline Summary Page
I have a requiement where I need to show custom badge or some kind of custom message somewhere on summary page (Pipelines -> Select Build -> Summary Page) of Azure DevOps build Pipeline based on ...
0
votes
2
answers
678
views
Unable to create Pipeline using azure devops cli in Azure Devops Portal from Azure Repos
I installed az cli and azure-devops extension.
>> az --version
azure-cli 2.44.1
core 2.44.1
telemetry 1.0.8
...
-1
votes
1
answer
127
views
automated repo creation and permission in Azuredevops
Any Automated way to create Azuredevops Repos Dynamically from Work item inputs ?
We are looking for self service based automated repo creation for Application teams.
Scenario Explanation:- The ...
0
votes
1
answer
103
views
Uploading the gradle artifact to Nexus 3.41 using azure DevOps
i am Using cURL upload extension to upload the artifact to Nexus repository.
I am getting the below error
Upload artifact to nexus extension is not supporting to Nexus 3.41 server
0
votes
1
answer
348
views
How to dynamically add certain TestCases to TestSuites by providing the TestCase name in AzureDevops pipeline
We are trying to use AzureDevops pipeline to automate the integration of test automation framework with Azure Test Plan as described in this article.
We converted below tasks to AzureDevops yaml ...
0
votes
0
answers
77
views
Azure dashboard with value provider api
My goal is to make an api call and process the returned response and reflect it to the azure dashboard.
The reason for my need is to present some special analysis values in the database on the azure ...
0
votes
1
answer
161
views
How to Automate test automation framework with Azure Test Plan in azuredevops
We are trying to automate the integration of test automation framework with Azure Test Plan as described in this article using azuredevops tasks.
I tried first step to get a testplanid from the ...
0
votes
1
answer
309
views
Disable auto-update Azure DevOps Extension Azure DevOps Server
in my company we're using Azure DevOps hosted on-premises. We have an internal team managing Azure DevOps Server and we need to disable the auto-update function for some (or even all) Azure extensions ...
-1
votes
1
answer
146
views
how to have multiple nodepools to the Azurepipeline yaml
In AzureDevops yaml pipeline, can we define multiple node pools to the same stage. For example we have vm [vmpool] based and docker [dockerpool] based build agents and they are belongs to separate ...
0
votes
1
answer
163
views
Work Details View Show User with Days Off
When viewing the Sprint Backlog board and Work Details, is there a way (possibly via extension?) to mark a given user differently to show they are actually marked as Off for the given day?
From my ...