Cmdlets for Azure DevOps

Build 24.0.9175

CloneTestPlan

Clones a test plan.

Input

Name Type Required Description
ProjectId String False Id of the Project.
DeepClone Boolean False Clones all the associated test cases as well.
CloneRequirements Boolean False If set to true, requirements will be cloned.

デフォルト値はfalseです。

CopyAllSuites Boolean False Copy all suites from a source plan.
CopyAncestorHierarchy Boolean False Copy ancestor hierarchy.
DestinationWorkItemType String False Name of the workitem type of the clone.
OverrideParameters String False Key value pairs where the key value is overridden by the value.
RelatedLinkComment String False Comment on the link that will link the new clone test case to the original.
DestinationPlanAreaPath String False Area of the Test Plan.
DestinationPlanBuildId String False Build to be tested.
DestinationPlanDescription String False Description of the test plan.
DestinationPlanEndDate String False End date for the test plan.
DestinationPlanIteration String False Iteration path of the test plan.
DestinationPlanName String True Name of the test plan.
DestinationPlanOwnerId String False User Id of the owner of the test plan.
DestinationPlanProject String False Destination project name.
DestinationPlanStartDate String False Start date for the test plan.
DestinationPlanState String False State of the test plan.
DestinationPlanSync Boolean False Value to configure how same tests across test suites under a test plan need to behave.
SourceTestPlanId Integer True Id of the source test plan.
SourceTestPlanSuiteId Integer False Comma-separated list of Test Suite Ids to clone inside source Test Plan.

Result Set Columns

Name Type Description
CloneOperationId Integer Stored procedure execution status.
CloneOperationState String Stored procedure execution status.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175