Signature
Helper | workflowHelper |
Signature |
transition(Issue issue, String transitionName) |
Description |
Transitions the issue using the transitionName on behalf of the Proxy user |
Introduced in | 0.13 |
Example use
if (issue.status.name == "In Progress" && replica.status.name == "Resolved") { workflowHelper.transition(issue, "Resolve") }
Comments
-
If Exalate does not find a transition with the provided transitionName, the issue status transition will not happen
Note: 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