Hi everyone,
I have implemented a plugin that makes operation on subtasks when parent issue has updated.
I want to add a control that checks one of custom field's changes. This custom field is numberfield type.
My control will apply if new value of this custom field is bigger than old value issue update event can not fire and show a message to user like invalidInputException class messages, but i cannot block the issue updated event.
My algorithm is simply like below;
public void issueUpdated(IssueEvent event)
{
new_value and old_value are comes from changeHistoryManager object
if(new_value < old_value){
// do not complete issue updated event
// return a message to user
}
}
Could anybody help me. i will be appreciated.