Hello All,
The below script i am using for the giving the condition for Unassigned issue.
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.MutableIssue;
if(issue.assigneeId=='Unassigned'){
issue.assigneeId = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser().name
}
Is the above script correct ? Here if condition is not working.
Any Help/Suggestion would be appreciated.
Regards,
Dileep Kumar