Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Boards>Service Tree Offerings By Id - Dev
Service Tree Offerings By Id - Dev

Service Tree Offerings By Id - Dev

AzCatE2E

|
7 installs
| (0) | Free
A work item form control which allows selection of multiple values from rest apis.
This extension is now unpublished from Marketplace. You can choose to uninstall it.

Use data from urls as the suggested values of a multivalue control

Work Item Form

How to get started

Visual Studio Team Services

Navigate to your work item form customization page and add a rest multivalue control.

Layout Customization

Edit the control so it can use the right field to store your selection and the right url/property combination to be displayed. For example

https://<account>.visualstudio.com/<project>/_apis/build/definitions?api-version=3.0
name

Options

If the name is specified it look for the first array in the response and get that property of the array of returned objects.

If property: name

Valid response body:

{
    value: [
        {name: 'a'},
        {name: 'b'},
        {name: 'c'}
    ]
}

If left blank it will look for the first array in the response and use that (response can just be an array of string too). Example response

{
    value: ['1','2',3']
}

On Premises

Navigate the process template xml. For each work item type to customize at the location

/WITD/WORKITEMTYPE/FORM/WebLayout/Extensions

add

<Extension Id="ottostreifel.vsts-rest-multivalue-control" />

Within the same Weblayout choose a group element and add

              <ControlContribution Id="ottostreifel.vsts-rest-multivalue-control.multivalue-form-control" Label="<control name>"  >
                <Inputs>
                  <Input Id="FieldName" Value="<longtext field reference name>" />
                  <Input Id="Url" Value="<url>" />
                  <Input Id="Property" Value="<property path>" />
                </Inputs>
              </ControlContribution>

How to query

The selected values are stored in a semicolon separated format. To search for items that have a specific value use the "Contains Words" operator. If searching for multiple values, use multipe "Contains Words" clauses for that field.

Alternatively if the Property field starts with '$' it will use the JSONPath Syntax

Example:

Url

https://<account>.visualstudio.com/<project>/_apis/wit/workitemtypes?api-version=3.0

Property

$.value[*].icon.id

Build

You can also learn how to build your own custom control extension for the work item form here.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft