Hello All,
I have a use case where I need to trigger a mail whenever a project rename occurs. I was able to achieve this with Scriptrunner "Send a Custom email" Listener. I'm using "ProjectUpdatedDetailedChangesEvent" event to trigger the mail.
But I'm not able to capture the old and new name of the project which was renamed. Could you please help me with this? Below is the code used under "Conditions and Configurations" section.
boolean flag = event.getIsProjectNameChanged()
if(flag) {
true
} else {
false
}
Thanks,
Poojaa