getTransitions

Back to index

Summary

Retrieves all transitions in a workflow.
projectName
Stringrequired
The name for the project that must be unique among all projects.
workflowName
Stringrequired
The name of the workflow.
stateName
Stringrequired
The name used for the new state.
targetState
Stringoptional
Limits results to transitions that have the specified state as a target.

Usage

Perl

$cmdr->getTransitions( "test-projectName", # projectName "test-workflowName", # workflowName "test-stateName" # stateName # optionals );

ectool

ectool getTransitions \ "test-projectName" `# projectName` \ "test-workflowName" `# workflowName` \ "test-stateName" `# stateName` \ # optionals

Examples

Perl

$cmdr->getTransitions("Default", "workflow_26_201010121647", "build");

ectool

ectool getTransitions "Default" "workflow_26_201010121647" "build"