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

update assignee to specific user if custom field value selected first value

Astala Vista February 27, 2018

By using script runner and groovy how can I update assignee based on custom field 'first value(select list)

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Gezim Shehu [Communardo]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 5, 2018
def cf = customFieldManager.getCustomFieldByName("Your Custom Field")
def cfValue = cf.getValue(issue)

if(cfValue == 'your desired value'){
issue.setAssignee('username')
}
TAGS
AUG Leaders

Atlassian Community Events