Skip to main content

Intro

Azure DevOps Server is a Microsoft product that provides version control, reporting, requirements management, project management, automated builds, testing and release management capabilities. It covers the entire application lifecycle, and enables DevOps capabilities. Use the Domo Azure DevOps connector to retrieve data about your projects, teams and work items. Use Domo’s Azure DevOps connector to retrieve data about your projects, teams and work items. To learn more about the Azure DevOps API, visit their page (https://docs.microsoft.com/en-us/res…evops-rest-6.1 ). You connect to your Azure DevOps account in the Data Center. This topic discusses the fields and menus that are specific to the Azure DevOps connector user interface. General information for adding DataSets, setting update schedules, and editing DataSet information is discussed in Adding a DataSet Using a Data Connector.

Prerequisites

To connect to your Azure DevOps account and create a DataSet, you must have the following:
  • The username you use to sign into your Azure DevOps account. If it is an email address, the @subdomain portion may not be necessary.
  • Your Personal Access Token that you can generate by going to User Settings > Personal Access Token in your Azure DevOps account.
  • Your Azure DevOps organization. For example, if you logged into your Azure DevOps instance at ” https://dev.azure.com/domo”, you would enter “domo” here.

Connecting to Your Azure DevOps Account

This section enumerates the options in the Credentials and Details panes in the Azure DevOps Connector page. The components of the other panes in this page, Scheduling and Name & Describe Your DataSet, are universal across most connector types and are discussed in greater length in Adding a DataSet Using a Data Connector.

Credentials Pane

This pane contains fields for entering credentials to connect to your Azure DevOps account. The following table describes what is needed for each field:

Field

Description

Username Enter the username you use to sign into your Azure DevOps account. If this is an email address, the @subdomain portion may not be necessary.
Personal Access Token Enter your Personal Access Token that you can generate by going to User Settings > Personal Access Token in your Azure DevOps account.
Organization Enter your Azure DevOps organization. For example, if you logged into your Azure DevOps instance at ” https://dev.azure.com/domo ”, you would enter “domo” here.
Once you have entered valid Azure DevOps credentials, you can use the same account any time you go to create a new Azure DevOps DataSet. You can manage connector accounts in the Accounts tab in the Data Center. For more information about this tab, see Managing User Accounts for Connectors.

Details Pane

This pane contains a primary Reports menu, along with various other menus which may or may not appear depending on the report type you select.

Menu

Description

Report

Select the Azure DevOps report you want to run. The following reports are available:

Report Name Description

Areas

Returns the work item Area Paths, with properties for grouping and filtering by area hierarchy.

Boards

Returns the Kanban board cell locations, as identified by board column, swimlane, and split, includes historic board settings.

Fields

Retrieves fields from your project. Update mode supported: Replace Only

Iterations

Retrieves the work item Iteration Paths, with properties for grouping and filtering by iteration hierarchy.

Processes

Retrieves Backlog information used to expand or filter work items and work item types.

Profiles (Users)

Retrieves the User information.

Projects

Retrieves details about your projects. Update mode supported: Replace Only

Tags

Retrieves work item tags for the specified project.

Teams

Retrieves details about your teams. Update mode supported: Replace Only

Work Items

Retrieves details about your work items. Update mode supported: Merge Only

Work Item Links

Retrieves the links between work items.

Work Item Revisions

Retrieves All historic work item revisions, including the current revision.

Work Items with Custom Query

Retrieves details about your work items by customizing the query. Update mode supported: Merge Only
Projects Returns a list of all available projects.
Custom Query Params Enter the query parameters that you want to provide while pulling the work items, separated by a newline.
Example: parameterName=value.
Note: The connector paginates the work items with the help of System.ID and System.ChangedDate, avoid providing them as the parameters.
Backfill Date

Select the date to retrieve Work Items from based on the Work Item’s ‘ChangedDate’ field.

Exclude Kanban Fields

Select this checkbox if you want to exclude all the column names that contain Kanban in the field name.
For example, if the field WEF_3C7EF45428404E54BBDB86AE473EE9B3_Kanban.Column or WEF_3C7EF45428404E54BBDB86AE473EE9B3_Kanban.Column.Done is available in Work items report; the connector will exclude those fields in your Work items report.

Ignore ordering of Work Items Select this checkbox if you want to ignore the ordering of the Ids while retrieving the work items.
Enter the value for top query parameter Enter a value to specify the maximum number of work items to be pulled in an API call, else it would use the default value.
Reset the Date Reset the date to the default supplied value used in the backfill date.
Preserve Schema Select this checkbox if you want to preserve the column names within a dataset.
Note: In the very first successful run, the Work Items and Work Items with Custom Query reports use the Backfill Date as the Start Date for retrieving all work items list. For example, Query: Select [ [System.Id](http://System.Id) ] From WorkItems WHERE [System.ChangedDate] > 'BACKFILLDATE' - Date format (yyyy-MM-dd HH:mm:ss) In the subsequent runs, the last successful run is used as the System.ChangedDate Subsequent Query: Select [ [System.Id](http://System.Id) ] From WorkItems WHERE [System.ChangedDate] > 'LAST SUCCESSFUL RUN EXECUTION END DATE' - Date format (yyyy-MM-dd HH:mm:ss) The above mentioned reports are supported only in the UPSERT mode.

Other Panes

For information about the remaining sections of the Connector interface, including how to configure scheduling, retry, and update options, see Adding a DataSet Using a Data Connector.

Troubleshooting

  • Make sure your authentication remains valid.
  • Review the configuration to make sure that all required items have been selected.
  • Review the Connector history for error messages.
  • In rare cases, you may be requesting too much information and reaching API limitations or timeouts. If this is the case, you can review the history of the Connector run to see the error message and duration. If this is the case, you can reduce the number of accounts that are being pulled, choose a smaller number of metrics for the report that you are pulling, or reduce the timeframe that you are trying to pull.