Back to  workflowHelper

Signature
 

HelperworkflowHelper
Signature

transition(Issue issue, String transitionName)

Description


Transitions the issue using the transitionName on behalf of the Proxy user

Introduced in0.13

Example use



if (issue.status.name == "In Progress") {
   workflowHelper.transition(issue, "Resolve")
} 

Comments

  • If Exalate does not find a transition with the provided transitionName, the issue status transition will not happen

    Attention!

    transitionName is case sensitive  "In Progress" is different from "In progress";

    The proxy user cannot execute an issue transition if the workflow condition fails

  • There are no errors if the transition could not be applied 

 

See Also

 

 

 


Back to  workflowHelper