Reference

Endpoint Search for Work Items by Text


Name

search_workitems_by_text

Description

Search for specific text within work items in the default project of the organization. [API reference]

Parameters

Parameter Required Options
Name: SearchText

Label: Text to Search For

YES

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Description
Id DT_WSTR nvarchar(50) 50
Title DT_WSTR nvarchar(4000) 4000
WorkItemType DT_WSTR nvarchar(50) 50
AssignedTo DT_WSTR nvarchar(500) 500
State DT_WSTR nvarchar(100) 100
Tags DT_WSTR nvarchar(500) 500
Revision DT_WSTR nvarchar(50) 50
CreatedDate DT_DBTIMESTAMP datetime
ChangedDate DT_DBTIMESTAMP datetime
ProjectId DT_WSTR nvarchar(500) 500
ProjectName DT_WSTR nvarchar(500) 500
Hits DT_WSTR nvarchar(4000) 4000
Url DT_WSTR nvarchar(1000) 1000
If the column you are looking for is missing, consider customizing Azure DevOps Connector.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.

Examples

SSIS

Use Azure DevOps Connector in API Source or in API Destination SSIS Data Flow components to read or write data.

API Source

API Source - Azure DevOps
Azure DevOps Connector can be used to integrate Azure DevOps data in your App / BI Tools. You can create, read, query, modify, and delete WorkItems, Projects, Teams and more.
Azure DevOps
Search for Work Items by Text
Required Parameters
Text to Search For Fill-in the parameter...
SSIS API Source - Read from table or endpoint

API Destination

API Destination - Azure DevOps
Azure DevOps Connector can be used to integrate Azure DevOps data in your App / BI Tools. You can create, read, query, modify, and delete WorkItems, Projects, Teams and more.
Azure DevOps
Search for Work Items by Text
Required Parameters
Text to Search For Fill-in the parameter...
SSIS API Destination - Access table or endpoint

ODBC application

Use these SQL queries in your ODBC application data source:

Search for work items by text contained within the work item

SELECT * FROM search_workitems_by_text WITH (SearchText='Text that I want to search for')

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Search for work items by text contained within the work item

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM search_workitems_by_text WITH (SearchText=''Text that I want to search for'')';

EXEC (@MyQuery) AT [LS_TO_AZURE_DEVOPS_IN_GATEWAY];