I'm using "Username of last updater or commenter" type field called "Recently updated by" and want to constantly compare it with Assignee. If these two are different I want to set the value of custom "Ticket updated value" filed to "true".
Am I doing it right with Behaviours:
FormField Ticketupdatedvalue = getFieldByName("Ticket updated value") FormField Recentlyupdatedby = getFieldByName("Recently updated by") FormField Assignee = getFieldById("assignee") if (Recentlyupdatedby.getValue() == Assignee.getValue()) { Ticketupdatedvalue.setFormValue("false") } else { Ticketupdatedvalue.setFormValue("true") }
?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.