I am trying to trigger a transition in a jython script using:
workflow = com.atlassian.jira.workflow.WorkflowTransitionUtil workflow.setAction(761)
This doesn't work and always says:
setAction(): expected 2 args; got 1
setAction should only need the transition number and not a second argument, I thought? Any ideas?