I'm trying to force all the issue types of type test to be unassigned if the assignee is set to Automatic, I've written a custom assignee resolver based on this old post
http://confluence.goldpitcher.co.kr/display/GPJIRA/Programmatically+determining+automatic+assignee
I don't undestand how to tell JIRA to use my custom object instead of the default one when creating issues,
before trying to use the CustomAssigneeResolver I tried using an Issue event listener on EventType.ISSUE_CREATED_ID but when I get the event the assignee is already set to the resolved user
thanks
Community moderators have prevented the ability to post new answers.
The sample you linked is "plugin 1" atlassian addon (the old type of addons) and there it was possible to override standard JIRA components (like AssigneeResolver) buy pushing you own implementations.
"plugin 1" is not supported anymore so Timothy is right:"Post Function module on the the create transition".
Concerning your comment "default assignee is already assigned when the event fires" - this is true for the event listener but should not be so for the post function. Did you try it in the post function on the create transition?
Whoa.. That code is 8 years old. You're better off using one of the newer add on modules. Maybe a Post Function module on the the create transition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the problem with that is that the default assignee is already assigned when the event fires
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.