Reference

Endpoint Create Project


Name

add_project

Description

Create a new project within the organization. [API reference]

Related Tables

Projects

Parameters

Parameter Required Options
Name: Name

Label: Project Name

The name of the project.
YES
Name: Abbreviation

Label: Project Abbreviation

The abbreviation of the project.
YES
Name: Description

Label: Project Description

The description of the project.
YES
Name: SourceControlType

Label: Source Control Type

The type of source control to be used with the project.
YES
Option Value
Git Git
Tfvc Tfvc
Name: TemplateTypeId

Label: Template Type Id

The template type id to use for the project.
YES
Name: Visibility

Label: Visibility

The visibility of the project to organizational users. If set to private, the project is only visible to users with explicit access. If set to public, the project is visible to all.
YES
Option Value
private private
public public

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Description
Id DT_WSTR nvarchar(200) 200
PluginId DT_WSTR nvarchar(200) 200
Status DT_WSTR nvarchar(100) 100
Url DT_WSTR nvarchar(2048) 2048
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 Destination

This Endpoint belongs to the Projects table, therefore it is better to use it, instead of accessing the endpoint directly. Use this table and table-operation pair to create project:

API Destination - Azure DevOps
Read and write Azure DevOps (Cloud or On-Premises) data effortlessly. Integrate, manage, and automate work items, projects, and teams — almost no coding required.
Azure DevOps
Projects
Insert
There are no parameters to configure.
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Create project

<p>Creates a new project in the organization. Supply name, abbreviation, description, source control type (Git or Tfvc), and visibility (private or public). The project is created asynchronously; poll or refresh to see it in the list. Requires appropriate organization permissions.</p>

INSERT INTO Projects (Name, Abbreviation, Description, SourceControlType, Visibility)
VALUES
('My New Project', 'MNP',
'The system we use for implementing point-of-service walk-in payment systems.',
'Git', 'private')

add_project endpoint belongs to Projects table(s), and can therefore be used via those table(s).

SQL Server

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

Create project

<p>Creates a new project in the organization. Supply name, abbreviation, description, source control type (Git or Tfvc), and visibility (private or public). The project is created asynchronously; poll or refresh to see it in the list. Requires appropriate organization permissions.</p>

DECLARE @MyQuery NVARCHAR(MAX) = 'INSERT INTO Projects (Name, Abbreviation, Description, SourceControlType, Visibility)
VALUES
(''My New Project'', ''MNP'',
''The system we use for implementing point-of-service walk-in payment systems.'',
''Git'', ''private'')';

EXEC (@MyQuery) AT [LS_TO_AZURE_DEVOPS_IN_GATEWAY];

add_project endpoint belongs to Projects table(s), and can therefore be used via those table(s).