Bulk Move

This command only processes the entities specified in the 'selections' parameter

Parameter Description
commandName Must be set to value 'BulkMove'
projectId Id of the the project the action applies to (used by some actions to determine the custom fields & permissions required to complete the action)
selections Array of ID/Type objects i.e. [{"Id":"0a02cb6d-4afa-463c-a6df-9fe400b7d8fc","Type":"TestScript"}, {"Id":"0a675d09-78cd-463e-a600-9fc80153481b","Type":"AgileRun"}] which the bulk action will operate on
sourcePackageId unique identifier of the source package
targetId target identifier (unique identifier of the target for this operation, normally a package or parent requirement)
targetPackageId Id of the target package (if any, normally same as the targetId)
targetType The entity type of the target (any valid TQL entity type)

Scenarios

  • BulkMoveAssignmentsScenario
  • BulkMoveRequirementsScenario
  • BulkMoveScriptsScenario

Scenario "BulkMoveAssignmentsScenario"

Supported Types: ScriptAssignment, AutomatedTestAssignment, AgileRun

This scenario has scenario-specific parameters:

Parameter Description
removeEmptyPackages Remove empty source packages (true/false)
retainStructure Retain structure for selected items based on package structure relative to the source package (true/false)
scenarioName Must be set to value 'BulkMoveAssignmentsScenario'

Scenario "BulkMoveRequirementsScenario"

Supported Types: Requirement

This scenario has scenario-specific parameters:

Parameter Description
removeEmptyPackages Remove empty source packages (true/false)
retainStructure Retain structure for selected items based on package structure relative to the source package (true/false)
scenarioName Must be set to value 'BulkMoveRequirementsScenario'

Scenario "BulkMoveScriptsScenario"

Supported Types: Script, AutomatedTest

This scenario has scenario-specific parameters:

Parameter Description
removeEmptyPackages Remove empty source packages (true/false)
retainStructure Retain structure for selected items based on package structure relative to the source package (true/false)
scenarioName Must be set to value 'BulkMoveScriptsScenario'
  • No labels