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?