I want to auto-transition all created issues of a certain issue-type in JIRA 4.2.
I've added a script listener (build in scripts: Fast-track transition an issue).
Event: issue-created.
Condition: issue.type == 'aa'
Action: Some(X)
Additional code: issueInputParameters.setComment('Auto-transition')
But somehow it doesn't seem to work.
When i create an issue: Fire a Issue Created event that can be processed by the listeners.
Even when no condition is added, it doesn't work.
Thanks.
EDIT:
What's the syntax for the issue type?
issue.issuetype?.name == 'aa' ?