Hi I am trying to write a listener to run some business logic in the case a user is removed from a particular group. Currently experimenting with UserEvent API to find a way to grab that particular event but not successful so far.
Would greatly appreciate some help/advise if anyone has knowledge on this.
Can you check with the below event once
Seems like we have to find the event by manually testing (https://docs.atlassian.com/atlassian-confluence/5.8.6/allclasses-noframe.html)
Here's a helpful link I found
https://community.atlassian.com/t5/Jira-questions/Script-Listener-to-Monitor-User-Group/qaq-p/782601
Thanks
Hi @Pramodh M
Thank you for the prompt response. I could very use the GroupMembershipDeletedEvent to get necessary information for function to run. However, this event is not listed under events for scriptrunner options. Any suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Choose custom event listener and include script for checking the audit log for the user removed from group event
https://confluence.atlassian.com/doc/audit-log-events-in-confluence-1005333793.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are on older version of Confluence 6.15.9
Relevant Documentation: https://confluence.atlassian.com/conf615/audit-log-967338485.html
The listener won't trigger until an appropriate listener is selected. The problem is I can't find any event that gets triggered on membership changes.
The groupEvent only triggers on creation and deletion of Group not membership.
Relevant Docs: https://docs.atlassian.com/atlassian-confluence/6.6.0/com/atlassian/confluence/event/events/group/GroupEvent.html
Please advise
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.