Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

JIRA Script Runner : Get group information when a used to added to it.


Im trying update a user property when an user is added to any group.

Im using "Events: GroupMembershipCreatedEvent" to trigger when ever a user is added. 

Is there a way to find out to which group the user was added to that triggered GroupMembershipCreatedEvent? Im new to JIRA and script runner development environment. Any suggestion in the right direction will be very helpful. 

1 answer

Hi Shivashankar,

According to

You can simply call getGroupName() on the event to get the name of group within the event.



Suggest an answer

Log in or Sign up to answer

Atlassian Community Events