com.atlassian.jira.event.issue
Interface IssueEventListener

All Superinterfaces:
java.util.EventListener, JiraListener
All Known Implementing Classes:
AbstractIssueEventListener, MailListener

public interface IssueEventListener
extends JiraListener

The IssueEventListener is the main Listener within JIRA.

It listens to any issue related events fired within JIRA.

See Also:
IssueEvent

Method Summary
 void issueAssigned(IssueEvent event)
          Deprecated. Please call workflowEvent(int,IssueEvent)
 void issueClosed(IssueEvent event)
          Deprecated. Please call workflowEvent(int,IssueEvent)
 void issueCommented(IssueEvent event)
          Deprecated. Please call workflowEvent(int,IssueEvent)
 void issueCreated(IssueEvent event)
          Deprecated. Please call workflowEvent(int,IssueEvent)
 void issueDeleted(IssueEvent event)
          Deprecated. Please call workflowEvent(int,IssueEvent)
 void issueGenericEvent(IssueEvent event)
          Deprecated. Please call workflowEvent(int,IssueEvent)
 void issueMoved(IssueEvent event)
          Deprecated. Please call workflowEvent(int,IssueEvent)
 void issueReopened(IssueEvent event)
          Deprecated. Please call workflowEvent(int,IssueEvent)
 void issueResolved(IssueEvent event)
          Deprecated. Please call workflowEvent(int,IssueEvent)
 void issueStarted(IssueEvent event)
          Deprecated. Please call workflowEvent(int,IssueEvent)
 void issueStopped(IssueEvent event)
          Deprecated. Please call workflowEvent(int,IssueEvent)
 void issueUpdated(IssueEvent event)
          Deprecated. Please call workflowEvent(int,IssueEvent)
 void issueWorkLogged(IssueEvent event)
          Deprecated. Please call workflowEvent(int,IssueEvent)
 void workflowEvent(int type, IssueEvent event)
          Fired for all events and the the correct event is called
 
Methods inherited from interface com.atlassian.jira.event.JiraListener
getAcceptedParams, getDescription, init, isInternal, isUnique
 

Method Detail

issueCreated

public void issueCreated(IssueEvent event)
Deprecated. Please call workflowEvent(int,IssueEvent)

Fired when an issue is created.


issueUpdated

public void issueUpdated(IssueEvent event)
Deprecated. Please call workflowEvent(int,IssueEvent)

Fired when an issue is updated.

The update changelog will be attached to the event as an action.


issueAssigned

public void issueAssigned(IssueEvent event)
Deprecated. Please call workflowEvent(int,IssueEvent)

Fired when an issue is assigned or unassigned.

Check the issue assignee to work out which is the case.


issueResolved

public void issueResolved(IssueEvent event)
Deprecated. Please call workflowEvent(int,IssueEvent)

Fired when an issue is resolved.

The resolution comment (if there is one) will be attached to the event as an action.


issueClosed

public void issueClosed(IssueEvent event)
Deprecated. Please call workflowEvent(int,IssueEvent)

Fired when an issue is closed.

The closure comment (if there is one) will be attached to the event as an action.


issueCommented

public void issueCommented(IssueEvent event)
Deprecated. Please call workflowEvent(int,IssueEvent)

Fired when a user comments on an issue.

The comment will be attached to the event as an action.


issueReopened

public void issueReopened(IssueEvent event)
Deprecated. Please call workflowEvent(int,IssueEvent)

Fired when an issue is reopened.


issueDeleted

public void issueDeleted(IssueEvent event)
Deprecated. Please call workflowEvent(int,IssueEvent)

Fired when an issue is deleted.


issueMoved

public void issueMoved(IssueEvent event)
Deprecated. Please call workflowEvent(int,IssueEvent)

Fired when an issue is moved.


issueWorkLogged

public void issueWorkLogged(IssueEvent event)
Deprecated. Please call workflowEvent(int,IssueEvent)

Fired when work is logged against an issue.

The work log will be attached to the event as an action.


issueStarted

public void issueStarted(IssueEvent event)
Deprecated. Please call workflowEvent(int,IssueEvent)

Fired when user starts work on an issue (start progress)


issueStopped

public void issueStopped(IssueEvent event)
Deprecated. Please call workflowEvent(int,IssueEvent)

Fired when user stops work on an issue (stop progress)


issueGenericEvent

public void issueGenericEvent(IssueEvent event)
Deprecated. Please call workflowEvent(int,IssueEvent)

Fired for all other events, eg. those fired from new workflow transitions.


workflowEvent

public void workflowEvent(int type,
                          IssueEvent event)
Fired for all events and the the correct event is called



Copyright © 2002-2005 Atlassian. All Rights Reserved.