This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
behaviours [2019/07/11 09:44] root |
behaviours [2020/07/21 11:08] (current) root |
||
---|---|---|---|
Line 11: | Line 11: | ||
</ | </ | ||
Reference: [[https:// | Reference: [[https:// | ||
+ | |||
+ | ==== Verify that assignee for the ticket is within the range of usernames ==== | ||
+ | <code java> | ||
+ | def ticketAssignee = getFieldById(" | ||
+ | def ticketAssigneeValue = ticketAssignee.getValue() | ||
+ | |||
+ | if (!['', | ||
+ | ticketAssigneeValue.setError(" | ||
+ | } else { | ||
+ | ticketAssigneeValue.clearError() | ||
+ | } | ||
+ | |||
+ | </ |