Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Project name change event

Poojaa Sudhakaran
Contributor
June 29, 2020

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

0 answers

Suggest an answer

Log in or Sign up to answer