I have a post function on create to copy the value from "Hiring Manager" (a single user picker custom field), to the "Request Participants" field for JIRA service desk.
This post function works beautifully, as long as the hiring manager is not also the reporter of the issue, as reporters are automatically added as "Request Participants".
Since hiring managers tend to be reporters quite often, I wanted to make this a conditional execution, where this post-function on runs when a condition returns true. I have a similar condition on another workflow post-function working, however I cannot seem to get this one to work.
Without any kind of condition validator to tell me if the expression is returning true or false, I'm not sure what to do next.
I currently have the condition written as:
issue.get("customfield_15480")!=issue.get("reporter")
Can someone help point me to where my mistake is in my syntax?