Listeners -

View: New views
2 Messages — Rating Filter:   Alert me  

Listeners -

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For background info, please see issue reported here:
https://support.atlassian.com/browse/JSP-46601

I have JIRA configured in PUBLIC mode (users can register their own accounts).
I'd like to send an email notification to the jira-administrators group whenever a new user creates an account.

In the Administration > Listeners section, the description reads that it is possible to do this but I am unable to find instructions.

Atlassian support recommended that I post here for potential solutions.  Perhaps someone already has this working?

Cheers,

-Tear
--
Post by tear - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38460
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Listeners -

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It should not be that hard creating this Listener. Here's the psuedocode:

{code}

public class MyClass implements UserEventListner

public MyClass{}

public userCreated(UserEvent userEvent) {
  // Get a list of the administrators
  // Get the SMTP for JIRA using the MailFactory class
  // Create a email object
  // Send the email to the admins
}
{code}

Cheers,
Timothy
--
Post by tchin - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38460
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user