com.atlassian.greenhopper.customfield.epiclink
Class EpicLinkIssueEventListener
java.lang.Object
com.atlassian.greenhopper.global.AbstractLoggable
com.atlassian.greenhopper.service.issue.AbstractIssueEventListener
com.atlassian.greenhopper.customfield.epiclink.EpicLinkIssueEventListener
@Service
public class EpicLinkIssueEventListener
- extends AbstractIssueEventListener
Listens to issue events and updates the epic links for a given issue when the issue type changes
Method Summary |
protected void |
doOnIssueEvent(java.lang.Long typeId,
com.atlassian.jira.issue.Issue issue,
com.atlassian.jira.event.issue.IssueEvent event)
|
void |
processIssueTypeChange(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue updatedIssue,
com.atlassian.jira.issue.issuetype.IssueType oldIssueType,
com.atlassian.jira.issue.issuetype.IssueType newIssueType,
com.atlassian.jira.issue.Issue oldParent,
com.atlassian.jira.issue.Issue newParent)
Cleans up stale issue links that could occur as a result of issue type changes
This method is called by the EpicLinkIssueEventListener whenever an issue is updated |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EpicLinkIssueEventListener
public EpicLinkIssueEventListener()
doOnIssueEvent
protected void doOnIssueEvent(java.lang.Long typeId,
com.atlassian.jira.issue.Issue issue,
com.atlassian.jira.event.issue.IssueEvent event)
- Specified by:
doOnIssueEvent
in class AbstractIssueEventListener
- Parameters:
typeId
- : see EventType
processIssueTypeChange
public void processIssueTypeChange(com.atlassian.crowd.embedded.api.User user,
@Nonnull
com.atlassian.jira.issue.Issue updatedIssue,
com.atlassian.jira.issue.issuetype.IssueType oldIssueType,
com.atlassian.jira.issue.issuetype.IssueType newIssueType,
com.atlassian.jira.issue.Issue oldParent,
com.atlassian.jira.issue.Issue newParent)
- Cleans up stale issue links that could occur as a result of issue type changes
This method is called by the EpicLinkIssueEventListener whenever an issue is updated
Copyright © 2007-2013 Atlassian. All Rights Reserved.