Hello!
I am trying to implement a listener that listens to user events and changes group membership of any user that get automatically created by our mail-handler.
I use https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Writing+JIRA+event+listeners+with+the+atlassian-event+library as the base of my work.
From reading the source of com.atlassian.jira.event.listeners.DebugListener I got the impression that there is an event fired when user is created. Problem is that I am unable to see such an event. For testing purposes I wrote an generic function like this
@EventListener
public void onEvent(AbstractEvent event) {
System.out.println(Handled an event: + event + at: + event.getTime());
}
Doing so the only user events I see are user.LoginEvent and user.LogoutEvent.
Am I missing something?
Can you help me?