I was trying to automatically change titles every time a page is updated or created through a ScriptRunner Event Listener.
import com.atlassian.confluence.event.events.content.page.PageEvent
def event = event as PageEvent
def title = event.content.getTitle()
//do stuff with title
event.content.setTitle(title)
This script does what it's supposed to do but the update does not trigger a change of links on other pages (The resource identifiers stay the same without the transformation).
Any idea how to properly change a title on updating a page?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.