Hello!
I'm trying to implement a validation check in a workflow that prevents the person who is transitioning a subtask to be the same person as the reporter of the parent issue.
So basically the current logged in user should not be the parent issue's reporter. I use Jira cloud and trying to use scriptrunner to do this
currentUser != issue.getParentObject().getReporter()
This is not working, what am I doing wrong?