Forums

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

Jira Project rename

Poojaa Sudhakaran
Contributor
June 29, 2020 edited

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
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events