Hi Team,
I have set Assignee to currentuser when assignee is not specified - by 'Assign to Currentuser' post-function but at the same I need to verify two more condition to be satisfied.
Condition 1:
when assignee is the same as the current assignee but different from the current user set assignee to current user.
Condition 2:
when the assignee is difference from current user and different from current assignee 1. require that the user selected is role of Developer and 2. set assignee to user selected.
How to do that using Script Runner or any post-function is fine.