By using script runner and groovy how can I update assignee based on custom field 'first value(select list)
def cf = customFieldManager.getCustomFieldByName("Your Custom Field")
def cfValue = cf.getValue(issue)
if(cfValue == 'your desired value'){
issue.setAssignee('username')
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.