getTransitionDefinitions

Back to index

Summary

Retrieves all transition definitions in a workflow definition.
projectName
Stringrequired
The name for the project that must be unique among all projects.
workflowDefinitionName
Stringrequired
The name of the workflow definition.
stateDefinitionName
Stringrequired
The name used for the state definition.
targetState
Stringoptional
Limits results to transition definitions that have the specified state definition as a target.

Usage

Perl

$cmdr->getTransitionDefinitions( "test-projectName", # projectName "test-workflowDefinitionName", # workflowDefinitionName "test-stateDefinitionName" # stateDefinitionName # optionals );

ectool

ectool getTransitionDefinitions \ "test-projectName" `# projectName` \ "test-workflowDefinitionName" `# workflowDefinitionName` \ "test-stateDefinitionName" `# stateDefinitionName` \ # optionals

Examples

Perl

$cmdr->getTransitionDefinitions("projectA", "BTD", "build");

ectool

ectool getTransitionDefinitions "projectA" "BTD" "build"