尝试使用此脚本更新受理人字段。
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.event.type.EventDispatchOption
import com.atlassian.jira.user.ApplicationUser
ApplicationUser curUser = ComponentAccessor.jiraAuthenticationContext.getUser();
if(issue.getAssignee() == null)
issue.setAssigneeId(curUser.name)