I am running this as a post-function via ScriptRunner but it is not setting the assignee for some reason:
if(issue.assignee == null){
issue.setAssignee(issue.reporter)
log.info("post assignee " + issue.assignee)
}
My log output comes back with 'post assignee THE RIGHT VALUE', but it is not reflected in Jira when I open the issue.
This seems so simple but not working, any help would be greatly appreciated.