I'm a totally newbie in the use of ScriptRunner and Groovy. Here is what I need to do: detect any modification (add, modify, delete) in the permissions for any project, and send a mail to a specific address when a modification is detected, including :
I'm quite sure this is possible using kind of ProjectPermissionModifiedEvent event but I'm not able to define the needed script(s) by myself.
Any help is welcome
Yes, 'ProjectPermissionModifiedEvent' is the correct event type.
We have updated our documentation page with an example for project permission modifications :
You can access the event info you need as :
Please let us know if you'd like further help!