Interface IssueDeleteHelper

All Known Implementing Classes:
DefaultIssueDeleteHelper

public interface IssueDeleteHelper
Performs issue deletion.
Since:
v4.1
  • Method Details

    • deleteIssue

      void deleteIssue(ApplicationUser user, Issue issue, EventDispatchOption eventDispatchOption, boolean sendMail) throws RemoveException
      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
    • deleteIssueNoEvent

      void deleteIssueNoEvent(Issue issue) throws RemoveException
      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
      See Also:
      • #deleteIssue(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.issue.Issue, com.atlassian.jira.event.type.EventDispatchOption, boolean)