Back to  workflowHelper

Signature

HelperworkflowHelper
Signaturetransition(Issue issue, String transitionName, User executor)
Description


Transitions the issue using the transitionName on behalf of the issue executor

Introduced in0.13

Example use

You can use this method in case the workflow has some restrictions such as conditions or validators;

// If only Anthony can do transition "Close" 

def anthony = nodeHelper.getUser("anthony.hopkins")
workflowHelper.transition(issue,"Close", anthony)

Comments

  • The same remarks as listed with transition (proxyuser) apply
  • If the user doesn't exist Exalate raises an error

See Also

 

 


Back to  workflowHelper