Prevent Project Administrators from changing the Project Key
Overview
This event listener script prevents project administrators from changing project keys, while still retaining their other privileges.
Good to Know
- Use this as a Custom Listener for the 'ProjectModificationRequestedEvent' event
- You can modify this script to prevent changing name or description, using
event.isNameChanged()
andevent.isDescriptionChanged()
- You can also compare the
event.newValue
andevent.oldValue
objects to identify changes in other project properties.