Skip to content

Latest commit

 

History

History
181 lines (92 loc) · 2.96 KB

File metadata and controls

181 lines (92 loc) · 2.96 KB

Add-ADOIterationPath

Synopsis

Adds an Azure DevOps IterationPath


Description

Adds an Azure DevOps IterationPath. IterationPaths are used to logically group work items within a project.


Related Links


Examples

EXAMPLE 1

Add-ADOIterationPath -Organization MyOrg -Project MyProject -IterationPath MyIterationPath

EXAMPLE 2

Add-ADOIterationPath -Organization MyOrg -Project MyProject -IterationPath MyIterationPath\MyNestedPath

Parameters

Organization

The Organization.

Type: [String]

Required: true

Position: 1

PipelineInput:true (ByPropertyName)


Project

The Project.

Type: [String]

Required: true

Position: 2

PipelineInput:true (ByPropertyName)


IterationPath

The IterationPath.

Type: [String]

Required: true

Position: 3

PipelineInput:true (ByPropertyName)


StartDate

The start date of the iteration.

Type: [DateTime]

Required: false

Position: 4

PipelineInput:true (ByPropertyName)


EndDate

The end date of the iteration.

Type: [DateTime]

Required: false

Position: 5

PipelineInput:true (ByPropertyName)


Server

The server. By default https://dev.azure.com/. To use against TFS, provide the tfs server URL (e.g. http://tfsserver:8080/tfs).

Type: [Uri]

Required: false

Position: 6

PipelineInput:true (ByPropertyName)


ApiVersion

The api version. By default, 5.1. If targeting TFS, this will need to change to match your server version. See: https://docs.microsoft.com/en-us/azure/devops/integrate/concepts/rest-api-versioning?view=azure-devops

Type: [String]

Required: false

Position: 7

PipelineInput:false


WhatIf

-WhatIf is an automatic variable that is created when a command has [CmdletBinding(SupportsShouldProcess)]. -WhatIf is used to see what would happen, or return operations without executing them

Confirm

-Confirm is an automatic variable that is created when a command has [CmdletBinding(SupportsShouldProcess)]. -Confirm is used to -Confirm each operation.

If you pass -Confirm:$false you will not be prompted.

If the command sets a [ConfirmImpact("Medium")] which is lower than $confirmImpactPreference, you will not be prompted unless -Confirm is passed.


Outputs

  • PSDevOps.IterationPath

Syntax

Add-ADOIterationPath [-Organization] <String> [-Project] <String> [-IterationPath] <String> [[-StartDate] <DateTime>] [[-EndDate] <DateTime>] [[-Server] <Uri>] [[-ApiVersion] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]