Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Bulk Create Assignments

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

ParameterDescription
commandNameMust be set to value 'BulkCreateAssignments'
projectIdId of the the project the action applies to (used by some actions to determine the custom fields & permissions required to complete the action)
selectionsArray 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
sourcePackageIdunique identifier of the source package
targetIdtarget identifier (unique identifier of the target for this operation, normally a package or parent requirement)
targetPackageIdId of the target package (if any, normally same as the targetId)
targetTypeThe entity type of the target (any valid TQL entity type)

Scenarios

  • BulkCreateScriptAssignmentsScenario

Scenario "BulkCreateScriptAssignmentsScenario"

Supported Types: Script, AutomatedTest

This scenario has scenario-specific parameters:

ParameterDescription
removeEmptyPackagesRemove empty source packages (true/false)
retainStructureRetain structure for selected items based on package structure relative to the source package (true/false)
scenarioNameMust be set to value 'BulkCreateScriptAssignmentsScenario'