I have applied the validation in due date field at the time of issue created event.
Logic:
When the ticket<task issue type> is created and due-Date is set to 10th January 2019. Then Due Date <sub-task issue type> should be smaller than Due-Date<task issue type>.
The validation rule is working fine at the time of creating the sub-task issue created event.
The condition is provided below :
if(issue.parentObject.dueDate >= issue.dueDate )
{
issue.dueDate
}
But the validation is not working at the time of issue update event.
Also I am unable to apply the validation in due date field at the time of issue update event.
Can anyone help me where and how to apply validation in issue update event. So that the validation will be working fine for issue update event.