Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Limit an Event Listener to a Specific User Group?

Kai Lamberson
October 29, 2020

Hello,

I'm sure this is relatively simple, but I've developed an event listener that sends an email when a user is added to a user group, however I want to limit the scope of this listener to only a specific group or set of groups.  What would be an example condition that would allow me to define that?

Thanks!

2 answers

Suggest an answer

Log in or Sign up to answer
1 vote
Serpa Dystematic
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 9, 2023

Could you find a solution for this?

I'm trying to develop a script in "Script Console", but the class I've created in "Script Editor" is being cached the first time I run it and after that I cannot get the updated version of it..

0 votes
Graham Twine
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 17, 2020

Hi @Steffen Stamprath have you tried to use the Scriptrunner built in scripts?

You can find it in the admin console under Built in Scripts > System > Clear Groovy classloader.

Steffen Stamprath
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 4, 2021

I know this function. But this clears all classes. This is not the solution for me.

TAGS
AUG Leaders

Atlassian Community Events