it mentioned there are 4 parameters like:
Status.receive(boolean, map, map, map)
But the error message I got mentioned that it should be
Status.receive(boolean, map, map, map, boolean)
By using the above (set the last boolean to true), it does solve the problem. But i’m not sure what is does and I don’t see any documentation about it.
Indeed, the Status.groovy for Jira Cloud now has a “onlyDirectTransitions” parameter of type boolean.
As you can guess by the name, the purpose of this parameter is to decide whether you want Exalate to execute transitions that require more than one step (setting the argument to false) or only direct transitions (setting the argument to true).