Hey Community,
Need a second pair of eyes here...
I have a user picker custom field on the creation screen for an issue..
I would like to put a condition that checks the field and ensures that it does not match the current reporter. I have tried to take a look online but can't see much.
I have tried writing the User Validator (JMWE app) validator on the create transition for the workflow...and have used the below condition for the user:
issue.reporter.accountId != issue.customfield_11209[0].accountId
This does not work. Does anyone know how to reference currentuser() in JMWE scripts? also can't see this anywhere. Because then rather than using the above could I not just say [customfield].accountId != currentuser()
Thanks