Hi guys,
I have created a behaviour using behaviour plugin.
When I edit issue priority to major, I want to mark the due date field as required.
The following image is my configuration, but it doesn't work.
image2016-12-23 14:26:23.png
This is my validation script
def priorityField = getFieldById("priority")
def dueDateField = getFieldById("duedate")
def priority = priorityField.getValue()
if(priority == "Major")
{
dueDateField.setRequired(true)
}Do you have any idea? Thanks.