Hi
I want to accomplish the following requirement but constantly encounter problems=)
1) When an issue got created in a certain project and assignee is set as Default Assignee I need to change assignee to a specific user according to issue type (I have three issue types in that project and each one should go to its own default assignee)
First I've tried to run groovy script in a post action when issue is created in the workflow designed. This didn't work, Jira ignores this and uses proeject's default assignee. The order of post functions didn't matter
Then I tried to create a custom listner, attach to IssueCreated event and do the trick - but result is this the same.
I've found this article https://answers.atlassian.com/questions/191021/groovy-change-assignee-based-on-custom-field-valuebut I don't really like the idea of creating a scripting field.
Is there any, more elegant, way of doing this?