If issue isn't updated within 7 days, assignee will change automatically.
i am new to scriptrunner service and trying to implement but this isn't updating assignee value. Please help me with the below script
import com.atlassian.jira.issue.MutableIssue
import com.atlassian.jira.user.util.UserManager
import com.atlassian.jira.user.ApplicationUser
import com.atlassian.jira.component.ComponentAccessor
def UserManager = ComponentAccessor.getUserManager()
ApplicationUser opt= UserManager.getUserByName("arag")
MutableIssue issue = issue
issue.setAssignee(opt);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I created it as link now in this comment. If it is still not working please try copy paste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.