Hello All
I have to do a task only if 'PNR Name' Changed.
I am trying to skip the check on Issue Created, but I am not finding a way to check on the event. First line in code below is giving error (I understand method is not available)
Can you please tell me how to do this check for Issue Created Event
/if(event.getName() != 'Issue Created'){
// If product name did not change return
def changeLog = event?.changeLog
def changeItems = changeLog.getRelated("ChildChangeItem")
def change = changeItems?.find{ it.field == "PNR Name"}
if(!change){
return
}
//}
Thanks
Abe