Forums

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

Jira Project rename

Poojaa Sudhakaran
Contributor
June 29, 2020

Hello There,

I have a use case where I need to rename a project upon which a mail will be triggered. I was able to achieve this with scriptrunner "Send custom mail" listener with "ProjectUpdatedDetailedChangesEvent" event.

But I'm not able to capture old and new project names. Could you please help me with this?

Thanks,

Poojaa

1 answer

0 votes
Mathis Hellensberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 29, 2020

Hi @Poojaa Sudhakaran 

After looking through the documentation and testing it myself I am afraid to say that I don't think it is possible. "ProjectUpdatedDetailedChangesEvent" returns nothing useful, and "ProjectUpdatedEvent", which actually have information about oldProject and newProject, isn't triggered when you change the name or key for some reason :(

Michael Aglas
Contributor
April 7, 2021

you can use 'ProjectUpdatedEvent' and get the project and the old project via: event.getOldProject() and event.getProject()

this can be used to make a comparision of the project name before and after

Suggest an answer

Log in or Sign up to answer