How to add validator or condition on my jira Workflow using script runner plugin to prevent reporters to perform a transition.
Currently Im using JRA 6.2.7 , My script is ,
currentUser != issue.reporter , But it failing to perform this condition. Please help
Can you try this:
import com.atlassian.jira.user.ApplicationUsers currentUser == ApplicationUsers.from(issue?.getReporter() as User)
I'm surprised this isn't affecting more people...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.