public interface

IssueDeleteHelper

com.atlassian.jira.issue.managers.IssueDeleteHelper
Known Indirect Subclasses

Class Overview

Performs issue deletion.

Summary

Public Methods
void deleteIssue(User user, Issue issue, EventDispatchOption eventDispatchOption, boolean sendMail)
Delete issue in context of given user.
void deleteIssueNoEvent(Issue issue)
Delete issue without firing any events, or sending notifications.

Public Methods

public void deleteIssue (User user, Issue issue, EventDispatchOption eventDispatchOption, boolean sendMail)

Delete issue in context of given user.

Parameters
user user performing the operation
issue issue to delete
eventDispatchOption event dispatching control
sendMail whether or not to send the email
Throws
RemoveException if the removal fails

public void deleteIssueNoEvent (Issue issue)

Delete issue without firing any events, or sending notifications.

This is preferred in some bulk operations, but normally you would call deleteIssue(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.issue.Issue, com.atlassian.jira.event.type.EventDispatchOption, boolean)

Parameters
issue issue to delete
Throws
RemoveException if the removal fails