Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Astala Vista
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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 Champion
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