Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

assignee resolver

Angelo Diego Crabolu May 21, 2015

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

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 22, 2015

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?

0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 22, 2015

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.

Angelo Diego Crabolu May 22, 2015

the problem with that is that the default assignee is already assigned when the event fires

TAGS
AUG Leaders

Atlassian Community Events