Questions tagged [azure-devops-extensions]

462 questions
0
votes
1 answer

Is there an interface for VSTS with similar functionality to WorkItemChangedEventHandler

I have created an extension for on-prem TFS that I am trying to port to work with VSTS Online, and eventually publish to the Marketplace. In my TFS version I used the Microsoft.TeamFoundation.Framework.Server.ISubscriber interface to hook into the…
JohnFx
  • 34,542
  • 18
  • 104
  • 162
0
votes
2 answers

Install extensions when creating VSTS account with ARM template

I'm using powershell and an ARM template to create a new Team Services account + DevOps Project. Template type: microsoft.visualstudio/account Is there a way to also install extensions via the template or powershell? I have a couple of extensions…
Attila Szasz
  • 3,033
  • 3
  • 25
  • 39
0
votes
2 answers

How to verify the publisher of a message to a service bus using VSTS server-based task?

I want to use Publish To Azure Service Bus VSTS server task and verify on the recipient side the VSTS user, project and account from which the published message originated. According to task.json related information is being posted onto the service…
0
votes
1 answer

VSTS Extension : Populate work-item type based on process template

I am working on VSTS extension and I have requirement to populate work item types to combo box based on project's process template . for example : If user have project with agile template work item types should load accordingly and If user use…
0
votes
1 answer

Invoke built-in command from VSTS extension

Is it possible to invoke a built-in VSTS command from a custom extension? I develop an extension with customized test results tab, and I want to reuse some built-in VSTS functionality. For example invoke Create bug menu action to create a new bug…
Josef Bláha
  • 1,033
  • 10
  • 21
0
votes
0 answers

Custom GitHub tab with own extension

I am making an extension for github. I already created extension for VSTS. My goal - write extension that adds some custom tab with own functionality. Github guide explains that I can create "github app" that will send to my webhook server all…
0
votes
1 answer

Sizing of VSTS tab extension content

I develop a custom tab to present VSTS build results. VSTS hosts the tab content in an iframe with height: 100%. However one of its ancestors (div with class build-custom-tab) has fixed height of 400px: This means that if my tab content is longer…
Josef Bláha
  • 1,033
  • 10
  • 21
0
votes
1 answer

Change order of tabs in VSTS

I develop a custom tab to present VSTS build results. Can I change the tabs order, so that my custom tab is the first, thus shown by default? The ms.vss-build-web.build-results-tab contribution type has an order property, which seems to serve my…
Josef Bláha
  • 1,033
  • 10
  • 21
0
votes
1 answer

Retrieving TFS dialog parameters

TFS 2018u1. I'm putting together an extension with a custom dialog. One can specify in the manifest that the dialog takes query string parameters: "properties": { "uri": "mydlg.html?ID={{ID}}&Name={{Name}}" and then provide the parameter values…
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
0
votes
1 answer

Make release def context menu item conditionally invisible

TFS 2018u1. I'm building an extension with custom context menu commands for release definitions. I'd like some of them to be conditionally invisible (upon the rights of the current user). Any way to hide them? Deliberately not calling VSS.register()…
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
0
votes
1 answer

TFS extension, enable OK from within the dialog

TFS 2018u1. I'm putting together an extension with a custom host dialog. There are two contributions involved - the dialog page itself, which has type "ms.vss-web.control", and the custom menu item that opens the dialog. The OK button on the dialog…
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
0
votes
2 answers

VSTS Dashboard Widget getWorkItem optional parameter expand

I am writing a VSTS dashboard widget used for Work Item Tracking However I am running into a problem when using the getWorkItem() function. I want to get the ids of all the Features under a given Epic (I already know the epic ID). I am confident…
0
votes
1 answer

Proper VSS.register() return syntax

I am fairly new to VSTS and developing custom widgets. I followed the sample tutorial: Add a dashboard widget Here is the following JS code for the index.html file: